-
Couldn't load subscription status.
- Fork 15
Document running download_schedule_feeds from command line #4425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Terraform plan in iac/cal-itp-data-infra/airflow/us Plan: 0 to add, 4 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# google_storage_bucket_object.calitp-composer["dags/download_gtfs_schedule_v2/README.md"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-composer" {
!~ crc32c = "KHF6mA==" -> (known after apply)
!~ detect_md5hash = "3HjxKRPPTT8Y84NgGgLIAA==" -> "different hash"
!~ generation = 1751416670936608 -> (known after apply)
id = "calitp-composer-dags/download_gtfs_schedule_v2/README.md"
!~ md5hash = "3HjxKRPPTT8Y84NgGgLIAA==" -> (known after apply)
name = "dags/download_gtfs_schedule_v2/README.md"
# (17 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-composer["dags/download_gtfs_schedule_v2/download_schedule_feeds.py"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-composer" {
!~ crc32c = "3CFrIg==" -> (known after apply)
!~ detect_md5hash = "tuDGKx58gvxzc6Anuo4Sxg==" -> "different hash"
!~ generation = 1751416672559844 -> (known after apply)
id = "calitp-composer-dags/download_gtfs_schedule_v2/download_schedule_feeds.py"
!~ md5hash = "tuDGKx58gvxzc6Anuo4Sxg==" -> (known after apply)
name = "dags/download_gtfs_schedule_v2/download_schedule_feeds.py"
# (17 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-composer-catalog will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-composer-catalog" {
!~ content = (sensitive value)
!~ crc32c = "HFLpFA==" -> (known after apply)
!~ detect_md5hash = "AxlvqGlF0XQytL7X6uBrow==" -> "different hash"
!~ generation = 1761674676592506 -> (known after apply)
id = "calitp-composer-data/warehouse/target/catalog.json"
!~ md5hash = "AxlvqGlF0XQytL7X6uBrow==" -> (known after apply)
name = "data/warehouse/target/catalog.json"
# (16 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-composer-manifest will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-composer-manifest" {
!~ content = (sensitive value)
!~ crc32c = "JvfK6A==" -> (known after apply)
!~ detect_md5hash = "/ncG1pOau+Ob3onRgEJBiQ==" -> "different hash"
!~ generation = 1761674678163486 -> (known after apply)
id = "calitp-composer-data/warehouse/target/manifest.json"
!~ md5hash = "/ncG1pOau+Ob3onRgEJBiQ==" -> (known after apply)
name = "data/warehouse/target/manifest.json"
# (16 unchanged attributes hidden)
}
Plan: 0 to add, 4 to change, 0 to destroy.📝 Plan generated in Plan Terraform for Warehouse and DAG changes #885 |
|
Terraform plan in iac/cal-itp-data-infra-staging/airflow/us Plan: 0 to add, 2 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# google_storage_bucket_object.calitp-staging-composer["dags/download_gtfs_schedule_v2/README.md"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-staging-composer" {
!~ crc32c = "KHF6mA==" -> (known after apply)
!~ detect_md5hash = "3HjxKRPPTT8Y84NgGgLIAA==" -> "different hash"
!~ generation = 1749661095007111 -> (known after apply)
id = "calitp-staging-composer-dags/download_gtfs_schedule_v2/README.md"
!~ md5hash = "3HjxKRPPTT8Y84NgGgLIAA==" -> (known after apply)
name = "dags/download_gtfs_schedule_v2/README.md"
# (17 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-staging-composer["dags/download_gtfs_schedule_v2/download_schedule_feeds.py"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-staging-composer" {
!~ crc32c = "3CFrIg==" -> (known after apply)
!~ detect_md5hash = "tuDGKx58gvxzc6Anuo4Sxg==" -> "different hash"
!~ generation = 1749661091724383 -> (known after apply)
id = "calitp-staging-composer-dags/download_gtfs_schedule_v2/download_schedule_feeds.py"
!~ md5hash = "tuDGKx58gvxzc6Anuo4Sxg==" -> (known after apply)
name = "dags/download_gtfs_schedule_v2/download_schedule_feeds.py"
# (17 unchanged attributes hidden)
}
Plan: 0 to add, 2 to change, 0 to destroy.📝 Plan generated in Plan Terraform for Warehouse and DAG changes #885 |
|
We should document the instructions for running this in prod as well. |
855d988 to
ffe62e3
Compare
|
Terraform plan in iac/cal-itp-data-infra/composer/us No changes. Your infrastructure matches the configuration.📝 Plan generated in Plan Terraform for Warehouse and DAG changes #885 |
23ecb22 to
f07e267
Compare
…nd line. Small fixes on the code. [#4354]
f07e267 to
1ebff49
Compare
Description
This PR adds documentation on how can we run
download_schedule_feedsfrom command line.Also small changes:
INFO - took 2 minutes ago to process 272 configs. Replacedhumanize.naturaltimebyhumanize.naturaldeltaso the message will remove the wordago.printinstead oflogging.infoso we can visualize the progress on terminal[#4354]
Type of change
How has this been tested?
Tested locally, running
GOOGLE_CLOUD_PROJECT=cal-itp-data-infra CALITP_BUCKET__GTFS_DOWNLOAD_CONFIG="gs://calitp-gtfs-download-config" CALITP_BUCKET__GTFS_SCHEDULE_RAW="gs://calitp-gtfs-schedule-raw-v2" poetry run python download_schedule_feeds.pyGOOGLE_CLOUD_PROJECT=cal-itp-data-infra-staging CALITP_BUCKET__GTFS_DOWNLOAD_CONFIG="gs://calitp-staging-gtfs-download-config" CALITP_BUCKET__GTFS_SCHEDULE_RAW="gs://calitp-staging-gtfs-schedule-raw-v2" poetry run python download_schedule_feeds.pyPost-merge follow-ups