Skip to content

Consider upating GTFS-RT test environment references to AIRFLOW_ENV env var to use new values #4426

@lauriemerrell

Description

@lauriemerrell

User story / feature request

As a developer, I just ran into an issue testing the GTFS schedule validator because this line:

if os.environ["AIRFLOW_ENV"] == "development"
checked for AIRFLOW_ENV = development but AIRFLOW_ENV=cal-itp-data-infra-staging now in non-prod environments.

It seems like AIRFLOW_ENV is checked in a few other places in the GTFS-RT archiver: https://github.com/search?q=repo%3Acal-itp%2Fdata-infra%20AIRFLOW_ENV&type=code. Not sure if there is any functional impact to the current discrepancy, but it might be worth checking it out.

Acceptance Criteria

Investigation of functional impact that GTFS RT test archiver instance seems to be checking for an env var value that it won't find (development)

Notes

Again, not sure of the functional impact here. Didn't look deeply into the archiver part

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions