Skip to content

Commit

Permalink
ci: Add environment variable checks and log Podman images***
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Feb 1, 2024
1 parent 2985031 commit f252f32
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,27 @@ 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 DJANGO_SETTINGS_MODULE is set
run: echo $DJANGO_SETTINGS_MODULE
- 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

0 comments on commit f252f32

Please sign in to comment.