Skip to content

Instantly share code, notes, and snippets.

@jdecode
Last active October 14, 2022 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdecode/de9a9bac8398e169cc7a00fe1ce52b8e to your computer and use it in GitHub Desktop.
Save jdecode/de9a9bac8398e169cc7a00fe1ce52b8e to your computer and use it in GitHub Desktop.
Deploy a delivery pipeline in GCP for Cloud Run [in preview, as of Oct 22]

Sample commands to:

  1. Create a new delivery pipeline:
gcloud deploy apply --file=clouddeploy.yaml --region=asia-southeast1 --project=jdecode
  1. Create a new release:
gcloud deploy releases create test-release-001 \
--project=jdecode \
--region=asia-southeast1 \
--delivery-pipeline=delivery-pipeline-deployer-app \
--images=deployer-image=asia.gcr.io/jdecode/deployer/service-deployer-dev:97ak87h(truncated)

Extra: The command to delete the delivery pipeline (using gcloud):

gcloud deploy delivery-pipelines delete delivery-pipeline-deployer-app --force --region=asia-southeast1 --project=jdecode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment