Skip to content

Commit

Permalink
Updates to the environment variables in the test docker script.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianwebb committed Aug 28, 2024
1 parent 2bf577f commit 48d4a13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ docker compose run api python manage.py makemessages --all
# Make sure the check doesn't raise any warnings
docker compose run \
-e DJANGO_SECRET_KEY="$(openssl rand -base64 64)" \
-e DJANGO_ADMIN_PATH=x \
-e MAILGUN_API_KEY=x \
-e MAILGUN_DOMAIN=x \
ui python manage.py check --settings=config.settings.production.ui --deploy --database default --fail-level WARNING
ui python manage.py check --settings=config.settings.local.ui --deploy --database default --fail-level WARNING

# Run npm build script if package.json is present
if [ -f "package.json" ]
Expand Down

0 comments on commit 48d4a13

Please sign in to comment.