Skip to content

Commit

Permalink
Update AzDO test
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartleeks committed Feb 23, 2023
1 parent cd95643 commit 39f15dc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .azure-devops/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,17 @@ jobs:
ACR_USERNAME: $(ACR_USERNAME)
- task: DevcontainersCi@0
env: # TEST_ENV_VALUE1 is set via devcontainer.json using a localEnv reference
TEST_ENV_VALUE1: SetViaDevcontainerJsonLocalEnv
inputs:
imageName: '$(ACR_NAME).azurecr.io/devcontainers-ci/azdo-devcontainer-build-run/test/run-args'
subFolder: github-tests/Dockerfile/run-args
runCmd: |
cat marker.txt
cat marker.txt | grep 'post-create: TEST_ENV_VALUE=testing123'
env: |
TEST_ENV_VALUE=testing123
cat marker.txt | grep 'post-create: TEST_ENV_VALUE1=SetViaDevcontainerJsonLocalEnv'
cat marker.txt | grep 'post-create: TEST_ENV_VALUE2=AdditionalEnvVar'
env: | # TEST_ENV_VALUE2 is an additional env var to pass to the container
TEST_ENV_VALUE2=AdditionalEnvVar
imageTag: $(IMAGE_TAG)
sourceBranchFilterForPush: ''

Expand Down

0 comments on commit 39f15dc

Please sign in to comment.