Using custom 1ES pool for running build pipelines. (#1414)

* Enable trimming to reduce package size

* trimming kusto

* Trying a new pool

* Fixing yaml errors

* Removing package trimming

* Removing formatting changes

* Using specific image

* Fixing formatting

* Fixing yml syntax
This commit is contained in:
Aasim Khan
2022-02-28 13:02:39 -08:00
committed by GitHub
parent 5005c344ad
commit 3f711ef6dc

View File

@@ -5,11 +5,10 @@ stages:
- stage: Build
jobs:
- job: Build
pool:
vmImage: 'windows-latest'
demands:
- Cmd
- npm
pool:
name: 'ads-build-1es-hosted-pool'
demands:
- ImageOverride -equals ADS-Windows_Image
steps:
- template: build.yml
@@ -20,8 +19,10 @@ stages:
dependsOn:
- Build
condition: and(succeeded(), eq(variables['RELEASE'], 'true'))
pool:
vmImage: 'Ubuntu-18.04'
pool:
name: 'ads-build-1es-hosted-pool'
demands:
- ImageOverride -equals ADS-Linux_Image
jobs:
- job: Release
steps: