Move build jobs to hosted pools (#22)

* Move build jobs to the Hosted VS2017 pool instead of our internal pool
* Move the prepare-release-internalonly job from a team-specific pool to a shared pool with more capacity
* Remove symbol publishing from PR/CI builds since it's not necessary; do it only in release builds
This commit is contained in:
Matt Cooley 2019-02-19 07:40:15 -08:00 committed by GitHub
parent cc69faf81d
commit 3e093155b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 27 deletions

View File

@ -12,11 +12,7 @@ jobs:
displayName: Build ${{ parameters.platform }}
condition: ${{ parameters.condition }}
pool:
name: Package ES Custom Demands Lab A
demands:
- msbuild
- visualstudio
- ClientAlias -equals PKGESUTILAPPS
vmImage: vs2017-win2016
variables:
BuildConfiguration: Release
BuildPlatform: ${{ parameters.platform }}
@ -39,6 +35,15 @@ jobs:
parameters:
extraMsBuildArgs: '/p:IsStoreBuild=true'
- task: PublishSymbols@2
displayName: Publish symbols
inputs:
symbolsFolder: $(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)
searchPattern: '**/*.pdb'
symbolServerType: teamServices
treatNotIndexedAsWarning: true
symbolsArtifactName: $(System.teamProject)/$(Build.BuildNumber)_$(BuildPlatform)$(BuildConfiguration)
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
displayName: Run BinSkim
inputs:

View File

@ -10,11 +10,7 @@ jobs:
displayName: Build ${{ parameters.platform }}
condition: ${{ parameters.condition }}
pool:
name: Package ES Custom Demands Lab A
demands:
- msbuild
- visualstudio
- ClientAlias -equals PKGESUTILAPPS
vmImage: vs2017-win2016
variables:
BuildConfiguration: Release
BuildPlatform: ${{ parameters.platform }}

View File

@ -42,12 +42,3 @@ steps:
artifactName: drop
pathToPublish: $(Build.BinariesDirectory)
parallel: true
- task: PublishSymbols@2
displayName: Publish symbols
inputs:
symbolsFolder: $(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)
searchPattern: '**/*.pdb'
symbolServerType: teamServices
treatNotIndexedAsWarning: true
symbolsArtifactName: $(System.teamProject)/$(Build.BuildNumber)_$(BuildPlatform)$(BuildConfiguration)

View File

@ -17,11 +17,7 @@ jobs:
in(dependencies.BuildARM64.result, 'Succeeded', 'SucceededWithIssues', 'Skipped')
)
pool:
name: Package ES Custom Demands Lab A
demands:
- msbuild
- visualstudio
- ClientAlias -equals PKGESUTILAPPS
vmImage: vs2017-win2016
workspace:
clean: outputs
steps:

View File

@ -14,9 +14,7 @@ jobs:
- job: WindowsInternalRelease
dependsOn: Package
pool:
name: Package ES Custom Demands Lab A
demands:
- ClientAlias -equals PKGESUTILAPPS
name: Package ES Lab E
workspace:
clean: outputs
steps: