Skip to content

Instantly share code, notes, and snippets.

@shawnho1018
Created May 25, 2022 09:54
Show Gist options
  • Select an option

  • Save shawnho1018/8c765b2276661e6ce5622f34b6ffe829 to your computer and use it in GitHub Desktop.

Select an option

Save shawnho1018/8c765b2276661e6ce5622f34b6ffe829 to your computer and use it in GitHub Desktop.
apiVersion: deploy.cloud.google.com/v1
kind: DeliveryPipeline
metadata:
name: hello-java
description: Software Delivery Workshop Sample
serialPipeline:
stages:
- targetId: uat
profiles:
- uat
- targetId: prod
profiles:
- production
---
apiVersion: deploy.cloud.google.com/v1
kind: Target
metadata:
name: uat
description: development cluster
gke:
cluster: projects/[project-name]/locations/asia-east1-a/clusters/[cluster-name]
---
apiVersion: deploy.cloud.google.com/v1
kind: Target
metadata:
name: prod
description: production cluster
anthosCluster:
membership: projects/[project-name]/locations/asia-east1/memberships/uc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment