[ci] Enable default ACR in official/PR/UpgradeVersion pipelines. (#11052)

This commit is contained in:
Shilong Liu 2022-06-09 15:58:39 +08:00 committed by GitHub
parent 2a9aa0836c
commit 4f19945b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 2 deletions

View File

@ -42,8 +42,11 @@ parameters:
stages:
- stage: Build
variables:
CACHE_MODE: none
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS='
- name: CACHE_MODE
value: none
- name: VERSION_CONTROL_OPTIONS
value: 'SONIC_VERSION_CONTROL_COMPONENTS='
- template: .azure-pipelines/template-variables.yml@buildimage
jobs:
- template: azure-pipelines-build.yml
parameters:

View File

@ -12,9 +12,20 @@ schedules:
- 202012
always: true
resources:
repositories:
- repository: buildimage
type: github
name: Azure/sonic-buildimage
ref: master
endpoint: build
trigger: none
pr: none
variables:
- template: .azure-pipelines/template-variables.yml@buildimage
stages:
- stage: Build
pool: sonicbld

View File

@ -30,6 +30,17 @@ resources:
name: Azure/sonic-mgmt
endpoint: build
ref: refs/heads/202012
- repository: buildimage
type: github
name: Azure/sonic-buildimage
endpoint: build
ref: master
variables:
- template: .azure-pipelines/azure-pipelines-repd-build-variables.yml@buildimage
- template: .azure-pipelines/template-variables.yml@buildimage
- name: CACHE_MODE
value: rcache
stages:
- stage: BuildVS