Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions 1es-azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ parameters:
type: object
default:
- name: NetCore1ESPool-Internal
image: 1es-windows-2022
image: windows.vs2026.amd64
os: windows
emoji: 🪟
- name: NetCore1ESPool-Internal
Expand All @@ -65,7 +65,7 @@ extends:
sdl:
sourceAnalysisPool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
image: windows.vs2026.amd64
os: windows
policheck:
enabled: true
Expand Down Expand Up @@ -99,14 +99,14 @@ extends:
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
image: windows.vs2026.amd64
os: windows
useOneEngineeringPool: true
- template: pipeline-templates/package-vsix.yaml@self
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
image: windows.vs2026.amd64
os: windows
useOneEngineeringPool: true
SignType: Real
Expand All @@ -115,6 +115,6 @@ extends:
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
image: windows.vs2026.amd64
os: windows
useOneEngineeringPool: true
6 changes: 3 additions & 3 deletions 1pr-azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ parameters:
type: object
default:
- name: NetCore-Public
demands: ImageOverride -equals 1es-windows-2022-open
demands: ImageOverride -equals windows.vs2026.amd64.open
Comment thread
nagilson marked this conversation as resolved.
os: windows
emoji: 🪟
- name: NetCore-Public
Expand Down Expand Up @@ -64,14 +64,14 @@ stages:
parameters:
pool:
name: NetCore-Public
demands: ImageOverride -equals 1es-windows-2022-open
demands: ImageOverride -equals windows.vs2026.amd64.open
os: windows
useOneEngineeringPool: false
- template: pipeline-templates/package-vsix.yaml
parameters:
pool:
name: NetCore-Public
demands: ImageOverride -equals 1es-windows-2022-open
demands: ImageOverride -equals windows.vs2026.amd64.open
os: windows
useOneEngineeringPool: false
SignType: Test
12 changes: 11 additions & 1 deletion pipeline-templates/install-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,14 @@ steps:
- task: UseNode@1
inputs:
version: '22.x'
displayName: '⚛️ Install Node.js'
displayName: '⚛️ Install Node.js'
- script: corepack enable && corepack install --global yarn@1.22.22
displayName: '🧶 Install Yarn'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we getting value out of using yarn instead of npm? Seems like it adds complexity.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does, I forget why we did this and things might have changed but there is some NPM limitation that made it nonfunctional, at least 2 years ago. We have to use npm too because yarn doesnt have support for vsts auth. CDK does the same thing, unless things changed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#617 outlines why, it mentions there's a VSCE limitation where it required yarn and didn't work with npm. I think it has to do with the multi-folder layout we use but not quite remember. I'm pretty sure I explained this in more detail in a comment somewhere.

- pwsh: |
$gitBashDirectory = Join-Path $env:ProgramFiles 'Git\bin'
if (-not (Test-Path (Join-Path $gitBashDirectory 'bash.exe'))) {
throw "Unable to locate Git Bash in $gitBashDirectory."
}
Write-Host "##vso[task.prependpath]$gitBashDirectory"
displayName: '🐚 Add Git Bash to PATH'
condition: eq(variables['Agent.OS'], 'Windows_NT')
4 changes: 2 additions & 2 deletions release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extends:
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
image: windows.vs2026.amd64
os: windows
customBuildTags:
- ES365AIMigrationTooling
Expand All @@ -37,7 +37,7 @@ extends:
environment: vscode-dotnetcore-extension-releases
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
image: windows.vs2026.amd64
os: windows
templateContext:
type: releaseJob
Expand Down
Loading
Loading