Skip to content

Upgrade Django server deployment workflow

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Oct 16:18
c75f705

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 and env_vars inputs for use with the collectstatic and migrate Django commands

Enhancements

  • Remove redundant cloud_run_base_url and gcp_environment inputs
  • Automatically add GCP_REGION, GCP_RESOURCE_AFFIX, and GCP_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