mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Create a custom Air-Gapped Cloud Build (#24595)
* initial commit with new build step for agc * add mixin agc step * add commit hash
This commit is contained in:
@@ -51,6 +51,13 @@ steps:
|
|||||||
git merge $(node -p "require('./package.json').distro")
|
git merge $(node -p "require('./package.json').distro")
|
||||||
displayName: Merge distro
|
displayName: Merge distro
|
||||||
|
|
||||||
|
- powershell: |
|
||||||
|
git remote add distro "https://github.com/$(VSCODE_MIXIN_REPO).git"
|
||||||
|
git fetch distro
|
||||||
|
git cherry-pick 51ef46d56b81ae967f3ae185661996540bf2b642
|
||||||
|
condition: eq(variables['VSCODE_QUALITY'], 'agc')
|
||||||
|
displayName: Merge AGC endpoints
|
||||||
|
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
@@ -139,6 +146,19 @@ steps:
|
|||||||
displayName: Install SAW Extensions
|
displayName: Install SAW Extensions
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_QUALITY'], 'saw'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_QUALITY'], 'saw'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- powershell: |
|
||||||
|
# Install AGC specific extensions
|
||||||
|
$ErrorActionPreference = "Stop"
|
||||||
|
$tempFilePath = (New-TemporaryFile).FullName
|
||||||
|
$zipFilePath = $tempFilePath + ".zip"
|
||||||
|
$extensionUri = "$(agc-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 AGC Extensions
|
||||||
|
condition: and(succeeded(), eq(variables['VSCODE_QUALITY'], 'agc'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
# - powershell: | @anthonydresser unit tests timeout never existing the node process
|
# - powershell: | @anthonydresser unit tests timeout never existing the node process
|
||||||
# . build/azure-pipelines/win32/exec.ps1
|
# . build/azure-pipelines/win32/exec.ps1
|
||||||
# $ErrorActionPreference = "Stop"
|
# $ErrorActionPreference = "Stop"
|
||||||
|
|||||||
Reference in New Issue
Block a user