Skip to content

Commit 18ba6a0

Browse files
committed
fix(cloudbuild): use PROJECT_ID instead of custom substitution
1 parent 04e110a commit 18ba6a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cloudbuild.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
substitutions:
22
_REGION: us-east1
33
_SERVICE_NAME: speed-proxy
4-
_MLAB_PROJECT: mlab-sandbox
54
_ALLOWED_ORIGIN: https://speed.measurementlab.net
65

76
steps:
@@ -38,7 +37,7 @@ steps:
3837
- |
3938
sed -e "s|OTEL_IMAGE_PLACEHOLDER|${_REGION}-docker.pkg.dev/${PROJECT_ID}/m-lab/otel-collector:${BUILD_ID}|g" \
4039
-e "s|IMAGE_PLACEHOLDER|${_REGION}-docker.pkg.dev/${PROJECT_ID}/m-lab/${_SERVICE_NAME}:${BUILD_ID}|g" \
41-
-e "s|MLAB_PROJECT_PLACEHOLDER|${_MLAB_PROJECT}|g" \
40+
-e "s|MLAB_PROJECT_PLACEHOLDER|${PROJECT_ID}|g" \
4241
-e "s|ALLOWED_ORIGIN_PLACEHOLDER|${_ALLOWED_ORIGIN}|g" \
4342
service.yaml > service-deploy.yaml
4443
gcloud run services replace service-deploy.yaml \

0 commit comments

Comments
 (0)