We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11eee0b commit 36cd602Copy full SHA for 36cd602
merge.sh
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env bash
2
+
3
+set -e
4
5
+here's what this script needs to do:
6
+1. Validate that it has the necessary ENV variables for S3 upload access
7
+2. accept the URL to a JSON config file
8
+3. download the config file and validate that it has the necessary fields
9
+4. download each GTFS feed specified in the config file to a temp directory
10
+5. run the OneBusAway GTFS merge CLI to merge the feeds using the processing instructions in the config file
11
+6. validate the merged feed(?)
12
+7. upload the merged feed to the specified S3 bucket
13
14
+echo "Starting GTFS merge process..."
15
+echo "$@"
0 commit comments