Skip to content

Commit 8afeea9

Browse files
committed
Clean up debug steps
1 parent b35dbfe commit 8afeea9

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/workflows/build-graph.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,10 @@ jobs:
3232
- name: Download latest GTFS, OSM, and elevation files from S3
3333
run: aws s3 sync --exclude "Graph.obj" "s3://$CAC_OTP_DATA_BUCKET/" "otp_data"
3434

35-
- name: TEMP test if successful
36-
run: ls otp_data
35+
- name: Build graph
36+
run: |
37+
cd deployment/dataproc/graph
38+
docker compose run --rm otp otp --build /var/otp
3739
38-
# Skip build graph for testing
39-
# - name: Build graph
40-
# run: |
41-
# cd deployment/dataproc/graph
42-
# docker compose run --rm otp otp --build /var/otp
43-
44-
# - name: Upload new GTFS files, OSM files and graph object to S3
45-
# run: aws s3 sync "otp_data" "s3://$CAC_OTP_DATA_BUCKET"
40+
- name: Upload graph object to S3
41+
run: aws s3 cp "otp_data/Graph.obj" "s3://$CAC_OTP_DATA_BUCKET/Graph.obj"

.github/workflows/fetch-otp-data.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ jobs:
5656
run: |
5757
sudo chmod 644 deployment/dataproc/osm/cac.pbf
5858
cp deployment/dataproc/osm/cac.pbf ./otp_data/
59-
60-
- name: TEMP confirm OSM file permissions
61-
run: ls -la ./otp_data/
6259
6360
- name: Upload latest GTFS and OSM files to S3
6461
if: ${{ !inputs.local_download }}

0 commit comments

Comments
 (0)