This commit is contained in:
Shilong Liu 2021-04-22 10:18:04 +08:00 committed by lguohan
parent bf02ba16ee
commit e45d636b77

View File

@ -33,27 +33,18 @@ resources:
stages: stages:
- stage: Build - stage: Build
pool: sonicbld pool: sonicbld
variables:
CACHE_MODE: rcache
${{ if eq(variables['Build.SourceBranchName'], '202012') }}:
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web'
jobs: jobs:
- template: .azure-pipelines/build-template.yml - template: .azure-pipelines/azure-pipelines-build.yml
parameters: parameters:
platform: broadcom buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}'
platform_short: brcm jobFilters:
cache_mode: rcache - vs
sync_rpc_image: true - broadcom
- mellanox
- template: .azure-pipelines/build-template.yml
parameters:
platform: mellanox
platform_short: mlnx
cache_mode: rcache
sync_rpc_image: true
- template: .azure-pipelines/build-template.yml
parameters:
platform: vs
platform_short: vs
cache_mode: rcache
- stage: Test - stage: Test
variables: variables: