diff --git a/build/azure-pipelines/win32/sql-product-build-win32.yml b/build/azure-pipelines/win32/sql-product-build-win32.yml index f32c7540bf..1c002d8d23 100644 --- a/build/azure-pipelines/win32/sql-product-build-win32.yml +++ b/build/azure-pipelines/win32/sql-product-build-win32.yml @@ -104,6 +104,13 @@ steps: condition: and(succeeded(), eq(variables['RUN_UNSTABLE_TESTS'], 'true')) displayName: Run unstable tests + - task: AzureKeyVault@1 + displayName: 'Azure Key Vault: SqlToolsSecretStore' + inputs: + azureSubscription: 'ClientToolsInfra_670062 (88d5392f-a34f-4769-b405-f597fc533613)' + KeyVaultName: SqlToolsSecretStore + SecretsFilter: 'ads-integration-test-azure-server,ads-integration-test-azure-server-password,ads-integration-test-azure-server-username,ads-integration-test-bdc-server,ads-integration-test-bdc-server-password,ads-integration-test-bdc-server-username,ads-integration-test-standalone-server,ads-integration-test-standalone-server-password,ads-integration-test-standalone-server-username' + - powershell: | . build/azure-pipelines/win32/exec.ps1 $ErrorActionPreference = "Stop" @@ -111,6 +118,16 @@ steps: continueOnError: true condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true')) displayName: Run stable tests + env: + BDC_BACKEND_USERNAME: $(ads-integration-test-bdc-server-username) + BDC_BACKEND_PWD: $(ads-integration-test-bdc-server-password) + BDC_BACKEND_HOSTNAME: $(ads-integration-test-bdc-server) + STANDALONE_SQL_USERNAME: $(ads-integration-test-standalone-server-username) + STANDALONE_SQL_PWD: $(ads-integration-test-standalone-server-password) + STANDALONE_SQL: $(ads-integration-test-standalone-server) + AZURE_SQL_USERNAME: $(ads-integration-test-azure-server-username) + AZURE_SQL_PWD: $(ads-integration-test-azure-server-password) + AZURE_SQL: $(ads-integration-test-azure-server) - powershell: | . build/azure-pipelines/win32/exec.ps1 @@ -122,6 +139,15 @@ steps: env: ADS_TEST_GREP: (.*@REL@|integration test setup) ADS_TEST_INVERT_GREP: 0 + BDC_BACKEND_USERNAME: $(ads-integration-test-bdc-server-username) + BDC_BACKEND_PWD: $(ads-integration-test-bdc-server-password) + BDC_BACKEND_HOSTNAME: $(ads-integration-test-bdc-server) + STANDALONE_SQL_USERNAME: $(ads-integration-test-standalone-server-username) + STANDALONE_SQL_PWD: $(ads-integration-test-standalone-server-password) + STANDALONE_SQL: $(ads-integration-test-standalone-server) + AZURE_SQL_USERNAME: $(ads-integration-test-azure-server-username) + AZURE_SQL_PWD: $(ads-integration-test-azure-server-password) + AZURE_SQL: $(ads-integration-test-azure-server) - powershell: | . build/azure-pipelines/win32/exec.ps1 @@ -130,6 +156,16 @@ steps: continueOnError: true condition: and(succeeded(), eq(variables['RUN_UNSTABLE_TESTS'], 'true')) displayName: Run unstable integration tests + env: + BDC_BACKEND_USERNAME: $(ads-integration-test-bdc-server-username) + BDC_BACKEND_PWD: $(ads-integration-test-bdc-server-password) + BDC_BACKEND_HOSTNAME: $(ads-integration-test-bdc-server) + STANDALONE_SQL_USERNAME: $(ads-integration-test-standalone-server-username) + STANDALONE_SQL_PWD: $(ads-integration-test-standalone-server-password) + STANDALONE_SQL: $(ads-integration-test-standalone-server) + AZURE_SQL_USERNAME: $(ads-integration-test-azure-server-username) + AZURE_SQL_PWD: $(ads-integration-test-azure-server-password) + AZURE_SQL: $(ads-integration-test-azure-server) - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 displayName: 'Sign out code'