Skip to content

Commit

Permalink
ci: Update Podman workflow: Check logs of server service container af…
Browse files Browse the repository at this point in the history
…ter waiting 5 seconds
  • Loading branch information
drikusroor committed Feb 2, 2024
1 parent 4a1bc95 commit 56bd28d
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,5 @@ jobs:
run: podman-compose -f docker-compose-deploy.yml up -d --force-recreate
- name: Check Podman images
run: podman-compose -f docker-compose-deploy.yml ps
- name: Check if all environment variables are set correctly
run: |
echo $POSTGRES_DB
echo $PGHOST
echo $PGPORT
echo $PGDATABASE
echo $AML_ALLOWED_HOSTS
echo $AML_CORS_ORIGIN_WHITELIST
echo $AML_DEBUG
echo $DJANGO_SETTINGS_MODULE
echo $AML_LOCATION_PROVIDER
echo $SQL_DATABASE
echo $SQL_HOST
echo $REACT_APP_API_ROOT
echo $REACT_APP_EXPERIMENT_SLUG
echo $REACT_APP_AML_HOME
echo $REACT_APP_HTML_PAGE_TITLE
echo $POSTGRES_USER
echo $POSTGRES_PASSWORD
echo $PGUSER
echo $SENTRY_DSN
echo $REACT_APP_SENTRY_DSN
- name: Check logs of Podman images
run: podman-compose -f docker-compose-deploy.yml logs
- name: Check logs of the server service container (muscle_server_1) after waiting for 5 seconds
run: sleep 5 && podman logs muscle_server_1

0 comments on commit 56bd28d

Please sign in to comment.