Skip to content

Commit 03086bf

Browse files
committed
Add PROJECT_ID env var substitution (GoogleCloudPlatform#69)
1 parent 4691816 commit 03086bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cloudbuild-deploy.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ steps:
1919
script: |
2020
#!/usr/bin/env bash
2121
sed -i "s/%GCLOUD_PROJECT%/${PROJECT_ID}/g" ./kubernetes/opentelemetry-demo.yaml
22+
env:
23+
- 'PROJECT_ID=$PROJECT_ID'
2224

2325
# deploy the manifests to the otel-demo namespace in GKE
2426
- name: 'gcr.io/cloud-builders/kubectl'

0 commit comments

Comments
 (0)