Skip to content

Commit

Permalink
updated build agent pool
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanann-ms committed Jun 20, 2023
1 parent dd0875a commit 8b9da87
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions vsts/node-nightly-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ parameters:
- name: buildAgentPoolVar
displayName: 'Build agent pool'
type: string
default: Azure-Iot-Hub-Main-Hosted-2
default: 'Azure-Iot-Hub-Main-Hosted-2'
- name: buildAgentVmImageVar
displayName: 'Build agent image'
type: string
default: Azure-Iot-Hub-Main-Hosted-2
default: 'Azure-Iot-Hub-Main-Hosted-2'
- name: release
displayName: 'Release to SDK partner storage account'
type: boolean
default: false

variables:
- name: vmImage
#value: 'windows-latest'
Expand All @@ -45,10 +46,10 @@ stages:
- job: run_tests
displayName: 'Tests - Windows Node 14.x'
pool:
#name: $(buildPool)
name: $(buildPool)
vmImage: $(vmImage)
#demands:
# - ImageOverride -equals $(vmImage)
demands:
- ImageOverride -equals $(vmImage)
steps:
- task: NodeTool@0
displayName: 'Use Node 14.x'
Expand All @@ -67,10 +68,10 @@ stages:
- stage: Pack
dependsOn: ['SDL', 'Test']
pool:
#name: $(buildPool)
name: $(buildPool)
vmImage: $(vmImage)
#demands:
# - ImageOverride -equals $(vmImage)
demands:
- ImageOverride -equals $(vmImage)
jobs:
- job: pack
displayName: 'Package for Release'
Expand Down Expand Up @@ -125,10 +126,10 @@ stages:
condition: ${{ parameters.release }}
dependsOn: ['Pack']
pool:
#name: $(buildPool)
name: $(buildPool)
vmImage: $(vmImage)
#demands:
# - ImageOverride -equals $(vmImage)
demands:
- ImageOverride -equals $(vmImage)
jobs:
# Prompt for release approval and SBOM verification
#- deployment: 'stageRelease'
Expand Down

0 comments on commit 8b9da87

Please sign in to comment.