Skip to content

Commit

Permalink
use substitution vars
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed May 11, 2021
1 parent 2ece059 commit f401a5c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ steps:
id: build-test-server
args:
- build
- --tag=gcr.io/$PROJECT_ID/opentelemetry-operations-python-e2e-test-server:$SHORT_SHA
- --tag=$_TEST_SERVER_IMAGE
- --file=e2e-test-server/Dockerfile
- .
- name: docker
id: push-test-server-image
args:
- push
- gcr.io/$PROJECT_ID/opentelemetry-operations-python-e2e-test-server:$SHORT_SHA
- $_TEST_SERVER_IMAGE

- name: gcr.io/opentelemetry-ops-e2e/opentelemetry-operations-e2e-testing:$_TEST_SERVER_TAG
- name: $_TEST_RUNNER_IMAGE
id: run-tests
dir: /
env:
Expand All @@ -38,6 +38,9 @@ steps:

logsBucket: gs://opentelemetry-ops-e2e-cloud-build-logs
substitutions:
_TEST_SERVER_TAG: 0.5.11
_TEST_RUNNER_IMAGE: gcr.io/opentelemetry-ops-e2e/opentelemetry-operations-e2e-testing:0.5.12
_TEST_SERVER_IMAGE: gcr.io/$PROJECT_ID/opentelemetry-operations-python-e2e-test-server:$SHORT_SHA
options:
dynamic_substitutions: true
images:
- gcr.io/$PROJECT_ID/opentelemetry-operations-python-e2e-test-server:$SHORT_SHA

0 comments on commit f401a5c

Please sign in to comment.