Upgrade Django server deployment workflow
Summary
This release upgrades the reusable deploy-cloud-run-django-server
workflow to take secrets from GCP and additional environment variables for use with the collectstatic
and migrate
Django commands. Several fixes are also included.
Contents (#18)
New features
- Add
gcp_secrets
andenv_vars
inputs for use with thecollectstatic
andmigrate
Django commands
Enhancements
- Remove redundant
cloud_run_base_url
andgcp_environment
inputs - Automatically add
GCP_REGION
,GCP_RESOURCE_AFFIX
, andGCP_ENVIRONMENT
environment variables to the.env
file - Show cloud run deployment URL at end of workflow
Fixes
- Fix several incorrect step name usages
- Fix image name usage in tmate session
- Fix showing secret manager prefix
- Fix value of
GCP_ENVIRONMENT
envvar - Fix
start.sh
instruction for debugging - Fix default task queue names
Operations
- Add local pull request description workflow
- Add local release workflow and version file
Dependencies
- Upgrade to
octue/get-deployment-info@0.3.3
in server workflow - Upgrade to
actions/checkout@v4