Skip to content

Commit b588410

Browse files
authored
Merge pull request #159 from SNEWS2/fix-CI-tests-sep2025
Fix CI and tests for snews_pt v2.1.0
2 parents 89508ba + 5eb558b commit b588410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.snews_db_pipeline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV POSTGRES_DB=${POSTGRES_DB}
2929
# Clone the repository
3030
ARG REPO_URL
3131
ARG BRANCH
32-
RUN git clone --branch ${BRANCH} ${REPO_URL} .
32+
RUN git clone --branch ${BRANCH} ${REPO_URL} . && git pull
3333

3434
RUN sed -i 's/^FIREDRILL_OBSERVATION_TOPIC=.*/FIREDRILL_OBSERVATION_TOPIC="kafka:\/\/$\{HOP_BROKER\}\/snews\.experiments-github"/' /app/snews_db/tests/etc/test-config.env
3535
RUN sed -i 's|^DATABASE_URL=.*|DATABASE_URL="postgresql://user:password@snews_pg:5432/snews_pg"|' /app/snews_db/tests/etc/test-config.env
@@ -48,7 +48,7 @@ RUN poetry lock
4848
RUN poetry install
4949

5050
## Add hop credentials
51-
RUN poetry run hop auth add hop_creds.csv
51+
RUN poetry run hop auth add /app/hop_creds.csv
5252

5353
## Command to run the coincidence system
5454
CMD ["poetry", "run", "snews_db", "--env", "/app/snews_db/tests/etc/test-config.env", "listen-to-detectors", "--firedrill"]

0 commit comments

Comments
 (0)