Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Update to use build-in env (#190)
Browse files Browse the repository at this point in the history
* take advantage of environment setting. prep for move to kv

* use client ID and secret specific to SB

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
  • Loading branch information
scbedd and jhendrixMSFT authored Sep 21, 2020
1 parent 27d94af commit c6cb351
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions eng/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,19 @@ steps:
unzip /tmp/terraform.zip -d /tmp
mkdir -p ~/bin
export PATH="~/bin:$PATH"
export ARM_SUBSCRIPTION_ID=$(AZURE_SUBSCRIPTION_ID)
export ARM_CLIENT_ID=$(AZURE_CLIENT_ID)
export ARM_CLIENT_SECRET=$(AZURE_CLIENT_SECRET)
export ARM_TENANT_ID=$(AZURE_TENANT_ID)
export GO111MODULE=on
make test-cover
make destroy-sb
gocov convert cover.out > coverage.json
gocov-xml < coverage.json > coverage.xml
gocov-html < coverage.json > coverage.html
displayName: 'Run Integration Tests'
workingDirectory: '$(sdkPath)'
env:
ARM_SUBSCRIPTION_ID: $(go-live-azure-subscription-id)
ARM_CLIENT_ID: $(go-live-sb-azure-client-id)
ARM_CLIENT_SECRET: $(go-live-sb-azure-client-secret)
ARM_TENANT_ID: $(go-live-tenant-id)
GO111MODULE: on
- task: PublishTestResults@2
inputs:
Expand Down

0 comments on commit c6cb351

Please sign in to comment.