You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jobs/gtfs-schedule-validator/README.md
+28-6
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,31 @@ since data creation.
27
27
If you run into trouble when adding the new validator jar, it's because the default set for check-added-large-files in our pre-commit config which is a relatively low 500Kb. It's more meant as an alarm for local development than as an enforcement mechanism.
28
28
You can make one commit that adds the jar and temporarily adds a higher file size threshold to the pre-commit config [like this one](https://github.com/cal-itp/data-infra/pull/2893/commits/7d40c81f2f5a2622123d4ac5dbbb064eb35565c6) and then a second commit that removes the threshold modification [like this one](https://github.com/cal-itp/data-infra/pull/2893/commits/1ec4e4a1f30ac95b9c0edffcf1f2b12e53e40733). That'll get the file through.
29
29
30
-
Remember you need to rebuild and push the latest docker file to dhcr before changes will be reflected in airflow runs.
31
-
32
-
You will need to parse the rules.json from the mobility validator. [Here is a gist to help](https://gist.github.com/vevetron/7d4bbebd2f1d524728d5349293906e3a).
33
-
34
-
Here is a command to test
35
-
docker-compose run airflow tasks test unzip_and_validate_gtfs_schedule_hourly validate_gtfs_schedule 2024-03-22T18:00:00
30
+
Remember you need to rebuild and push the latest docker file to `dhcr.io` before changes will be reflected in airflow runs.
31
+
32
+
You will need to parse the `rules.json` from the mobility validator. Here is a code example for the upgrade to v5:
0 commit comments