File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,18 @@ metadata:
1818 name : appint-sample-pipeline
1919serialPipeline :
2020 stages :
21- - targetId : dev-env
22- - targetId : staging-env
21+ - targetId : dev
22+ - targetId : staging
2323---
2424apiVersion : deploy.cloud.google.com/v1
2525kind : Target
2626metadata :
27- name : dev-env
27+ name : dev
2828customTarget :
2929 customTargetType : appint-sample-target
3030deployParameters :
3131 APP_INTEGRATION_PROJECT_ID : " dev-integration-project"
32+ APP_INTEGRATION_REGION : " us-central1"
3233# executionConfigs:
3334# - usages:
3435# - DEPLOY
@@ -44,11 +45,12 @@ deployParameters:
4445apiVersion : deploy.cloud.google.com/v1
4546kind : Target
4647metadata :
47- name : staging-env
48+ name : staging
4849customTarget :
4950 customTargetType : appint-sample-target
5051deployParameters :
5152 APP_INTEGRATION_PROJECT_ID : " staging-integration-project"
53+ APP_INTEGRATION_REGION : " us-central1"
5254# executionConfigs:
5355# - usages:
5456# - DEPLOY
Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ customActions:
3232 args :
3333 - ' -c'
3434 - |-
35- integrationcli integrations apply --env=dev --reg=$CLOUD_DEPLOY_LOCATION --proj=$APP_INTEGRATION_PROJECT_ID --pipeline=$CLOUD_DEPLOY_DELIVERY_PIPELINE --release=$CLOUD_DEPLOY_RELEASE --output-gcs-path=$CLOUD_DEPLOY_OUTPUT_GCS_PATH --run-tests=true --metadata-token
35+ integrationcli integrations apply --env=$CLOUD_DEPLOY_TARGET --reg=$APP_INTEGRATION_REGION --proj=$APP_INTEGRATION_PROJECT_ID --wait=true --run-tests=true --metadata-token
You can’t perform that action at this time.
0 commit comments