From bd54f0ad5de9d94f7159ad3a8af0bcfc2e4327e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nemanja=20Milovan=C4=8Devi=C4=87?= Date: Thu, 26 May 2022 18:21:13 +0200 Subject: [PATCH] Linked azure key valut variables to environment variables for URL backup/restore tests (#1512) --- azure-pipelines/integrationtests.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/azure-pipelines/integrationtests.yml b/azure-pipelines/integrationtests.yml index 08eca518..919bbe23 100644 --- a/azure-pipelines/integrationtests.yml +++ b/azure-pipelines/integrationtests.yml @@ -57,6 +57,13 @@ steps: env: defaultSql2019_password: '$(defaultSql2019_password)' + - task: AzureKeyVault@1 + displayName: 'Azure Key Vault: SqlToolsSecretStore' + inputs: + azureSubscription: 'ClientToolsInfra_670062 (88d5392f-a34f-4769-b405-f597fc533613)' + KeyVaultName: SqlToolsSecretStore + SecretsFilter: 'sqltools-backup-url-tests-blobcontaineruri,sqltools-backup-url-tests-storageaccountname,sqltools-backup-url-tests-storageaccountkey' + - task: DotNetCoreCLI@2 displayName: Building Integration Tests inputs: @@ -70,3 +77,7 @@ steps: projects: '**/Microsoft.SqlTools.ServiceLayer.IntegrationTests.csproj' arguments: '--no-build' testRunTitle: 'SqlToolsService Integration Tests' + env: + AzureStorageAccountKey: $(sqltools-backup-url-tests-storageaccountkey) + AzureStorageAccountName: $(sqltools-backup-url-tests-storageaccountname) + AzureBlobContainerUri: $(sqltools-backup-url-tests-blobcontaineruri)