From b75e688a7ef4364cf75bf15e3d6f4a2d0447011f Mon Sep 17 00:00:00 2001 From: rajeshka Date: Wed, 26 May 2021 15:43:07 -0700 Subject: [PATCH] Added build changes to add TSGOps extensions into the build (#15584) * Add TSGOps specific extensions to SAW build * Added the KeyVault uri --- .../win32/sql-product-build-win32.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/build/azure-pipelines/win32/sql-product-build-win32.yml b/build/azure-pipelines/win32/sql-product-build-win32.yml index eb84c228a1..417f22e259 100644 --- a/build/azure-pipelines/win32/sql-product-build-win32.yml +++ b/build/azure-pipelines/win32/sql-product-build-win32.yml @@ -16,7 +16,7 @@ steps: inputs: azureSubscription: 'ClientToolsInfra_670062 (88d5392f-a34f-4769-b405-f597fc533613)' KeyVaultName: ado-secrets - SecretsFilter: 'github-distro-mixin-password' + SecretsFilter: 'github-distro-mixin-password,standalone-extensions-uri' displayName: 'Azure Key Vault: Get Secrets' - task: DownloadPipelineArtifact@2 @@ -119,6 +119,19 @@ steps: vstsPackageVersion: '*' condition: and(succeeded(), eq(variables['VSCODE_QUALITY'], 'saw')) + - powershell: | + # Install TSGOps specific extensions + $ErrorActionPreference = "Stop" + $tempFilePath = (New-TemporaryFile).FullName + $zipFilePath = $tempFilePath + ".zip" + $extensionUri = "$(standalone-extensions-uri)" + $adsExtensionPath = "$(agent.builddirectory)\azuredatastudio-win32-x64\resources\app\extensions" + Invoke-WebRequest -Uri $extensionUri -OutFile $tempFilePath + Move-Item $tempFilePath $zipFilePath + Expand-Archive $zipFilePath -DestinationPath $adsExtensionPath + displayName: Install SAW Extensions + condition: and(succeeded(), eq(variables['VSCODE_QUALITY'], 'saw')) + # - powershell: | @anthonydresser unit tests timeout never existing the node process # . build/azure-pipelines/win32/exec.ps1 # $ErrorActionPreference = "Stop"