Skip to content

Commit

Permalink
chore!: GTFS import: mount local download.sh into postgtfs-gtfs-impor…
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Oct 29, 2024
1 parent f709968 commit 6f048cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The changelog lists most feature changes between each release.

## 2024-10-29

- GTFS import: Mount local (modified) `download.sh` into `postgis-gtfs-importer` container.
- ⚠️ `$IPL_GTFS_IMPORTER_HOST_CUSTOM_SCRIPTS_DIR` must contain a `download.sh`, so if it doesn't, this is a breaking change!
- This is the `ipl-dagster-pipeline` equivalent to [`ipl-orchestration#cafff65`](https://github.com/mobidata-bw/ipl-orchestration/commit/cafff6537a90c0292070d790cea4706fb425768d).

## 2024-10-01

- GTFS import: adapt to [`postgis-gtfs-importer:v4-2024-09-24T15.06.43-9a66d7d` image](https://github.com/mobidata-bw/postgis-gtfs-importer/pkgs/container/postgis-gtfs-importer/278891924?tag=v4-2024-09-24T15.06.43-9a66d7d) (21449e7)
Expand Down
1 change: 1 addition & 0 deletions pipeline/assets/gtfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'volumes': [
os.path.join(os.getenv('IPL_GTFS_IMPORTER_HOST_GTFS_OUTPUT_DIR'), ':/var/gtfs/:rw'),
os.path.join(os.getenv('IPL_GTFS_IMPORTER_HOST_CUSTOM_SCRIPTS_DIR'), ':/etc/gtfs'),
os.path.join(os.getenv('IPL_GTFS_IMPORTER_HOST_CUSTOM_SCRIPTS_DIR'), 'download.sh') + ':/importer/download.sh',
],
# > CPU shares (relative weight).
# from https://docs.docker.com/config/containers/resource_constraints/#configure-the-default-cfs-scheduler:
Expand Down

0 comments on commit 6f048cb

Please sign in to comment.