Skip to content

Enable deployments to Cloud Run

This merge request includes a Cloud Run deployment job in the pipeline definition (.gitlab-ci.yml).

The deploy-to-cloud-run job:

  • Requires the following environment variables
    • GCP_PROJECT_ID
    • GCP_SERVICE_ACCOUNT_KEY
  • Job definition can be found at: https://gitlab.com/gitlab-org/incubation-engineering/five-minute-production/library
  • Uses CI/CD variables to configure the deployment. You can override the default values by adding these variables:
    • GCP_CLOUD_RUN_MAX_INSTANCES
    • GCP_CLOUD_RUN_MIN_INSTANCES
    • GCP_CLOUD_RUN_CONCURRENCY
    • GCP_CLOUD_RUN_CPU
    • GCP_CLOUD_RUN_MEMORY
    • GCP_CLOUD_RUN_TIMEOUT

This pipeline definition has been committed to the branch deploy-to-cloud-run-5313dd5690a796f5. You may modify the pipeline definition further or accept the changes as-is if suitable.

Merge request reports

Loading