Skip to content

Commit

Permalink
Add export package to prevent future errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
V committed Jan 30, 2025
1 parent b1b07d8 commit e2ff757
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-warehouse-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test, visualize, and build dbt project
on:
push:
branches:
- 'git_action_testground'
- 'main'
paths:
- '.github/workflows/build-warehouse-image.yml'
- 'warehouse/**'
Expand All @@ -14,7 +14,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/git_action_testground' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
check:
Expand Down Expand Up @@ -101,8 +101,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/git_action_testground') || steps.changed-files-specific.outputs.any_changed == 'true' }}
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || steps.changed-files-specific.outputs.any_changed == 'true' }}
with:
context: warehouse
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/git_action_testground' }}
tags: ghcr.io/${{github.repository}}/warehouse_test_space:latest
tags: ghcr.io/${{github.repository}}/warehouse:latest
4 changes: 2 additions & 2 deletions jobs/gtfs-rt-parser-v2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:11

LABEL org.opencontainers.image.source https://github.com/cal-itp/data-infra
LABEL org.opencontainers.image.source=https://github.com/cal-itp/data-infra

ENV GTFS_RT_VALIDATOR_JAR=/gtfs-realtime-validator.jar
ENV GTFS_RT_VALIDATOR_VERSION=v1.0.0
Expand All @@ -10,7 +10,7 @@ RUN apt-get update -y \

RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:${PATH}"

RUN poetry self add [email protected]
# from https://github.com/MobilityData/gtfs-realtime-validator/packages/1268973
COPY ./gtfs-realtime-validator-lib-1.0.0-20220223.003525-2.jar ${GTFS_RT_VALIDATOR_JAR}

Expand Down
3 changes: 2 additions & 1 deletion jobs/gtfs-schedule-validator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM openjdk:11

LABEL org.opencontainers.image.source https://github.com/cal-itp/data-infra
LABEL org.opencontainers.image.source=https://github.com/cal-itp/data-infra

RUN apt-get update -y \
&& apt-get install -y python3 python3-pip python3-venv libunwind-dev liblz4-dev

RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:${PATH}"
RUN poetry self add [email protected]

# v2 from https://github.com/MobilityData/gtfs-validator/releases/download/v2.0.0/gtfs-validator-v2.0.0_cli.jar
ENV V2_VALIDATOR_JAR=/gtfs-validator-v2.0.0_cli.jar
Expand Down
3 changes: 2 additions & 1 deletion services/gtfs-rt-archiver-v3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM --platform=linux/amd64 python:3.9 as build

LABEL org.opencontainers.image.source https://github.com/cal-itp/data-infra
LABEL org.opencontainers.image.source=https://github.com/cal-itp/data-infra

RUN apt-get update && apt-get install -y libunwind-dev liblz4-dev

RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:${PATH}"
RUN poetry self add [email protected]

WORKDIR /app

Expand Down

0 comments on commit e2ff757

Please sign in to comment.