Skip to content

Commit

Permalink
Adding link test script to api images
Browse files Browse the repository at this point in the history
  • Loading branch information
lstevens-cabinet-office committed Oct 2, 2024
1 parent 4fe9a49 commit 3e03c71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.eas-api
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN useradd -ms /bin/bash easuser && \
chown -R easuser:easuser $DIR_API && \
chown -R easuser:easuser $DIR_UTILS

COPY scripts/link-test.sh /
COPY scripts/start-api.sh /
CMD bash /start-api.sh

Expand Down
5 changes: 5 additions & 0 deletions scripts/link-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /bin/bash

cd /eas/emergency-alerts-api;
. /venv/emergency-alerts-api/bin/activate;
celery -A run_celery.notify_celery call --queue periodic-tasks trigger-link-tests;

0 comments on commit 3e03c71

Please sign in to comment.