sonic-buildimage/.azure-pipelines/official-build.yml
xumia 84681956e4 [Build]: Support reproducible build for release branches (#9426)
[Build]: Support reproducible build for release branches #9426
2021-12-26 20:55:51 -08:00

36 lines
789 B
YAML

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
schedules:
- cron: "0 8 * * *"
displayName: Daily midnight build
branches:
include:
- master
- 202111
always: true
- cron: "0 4 * * *"
displayName: nightly build for release
branches:
include:
- 201911
- 201811
trigger: none
pr: none
stages:
- stage: Build
pool: sonicbld
variables:
- name: CACHE_MODE
value: wcache
- template: azure-pipelines-repd-build-variables.yml
jobs:
- template: azure-pipelines-build.yml
parameters:
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}'
jobFilters: none