Skip to content

Commit d51d27a

Browse files
committed
chore: update samples #369
1 parent 05d7b25 commit d51d27a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

samples/scaffold-sample/clouddeploy.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ metadata:
1818
name: appint-sample-pipeline
1919
serialPipeline:
2020
stages:
21-
- targetId: dev-env
22-
- targetId: staging-env
21+
- targetId: dev
22+
- targetId: staging
2323
---
2424
apiVersion: deploy.cloud.google.com/v1
2525
kind: Target
2626
metadata:
27-
name: dev-env
27+
name: dev
2828
customTarget:
2929
customTargetType: appint-sample-target
3030
deployParameters:
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:
4445
apiVersion: deploy.cloud.google.com/v1
4546
kind: Target
4647
metadata:
47-
name: staging-env
48+
name: staging
4849
customTarget:
4950
customTargetType: appint-sample-target
5051
deployParameters:
5152
APP_INTEGRATION_PROJECT_ID: "staging-integration-project"
53+
APP_INTEGRATION_REGION: "us-central1"
5254
#executionConfigs:
5355
#- usages:
5456
# - DEPLOY

samples/scaffold-sample/skaffold.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)