Skip to content

Commit

Permalink
Add PROJECT_ID env var substitution (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi authored Apr 29, 2024
1 parent 25a4701 commit 1811094
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudbuild-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ steps:
script: |
#!/usr/bin/env bash
sed -i "s/%GCLOUD_PROJECT%/${PROJECT_ID}/g" ./kubernetes/opentelemetry-demo.yaml
env:
- 'PROJECT_ID=$PROJECT_ID'

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

0 comments on commit 1811094

Please sign in to comment.