2021-06-23 20:44:40 -05:00
|
|
|
# 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 */6 * * *"
|
|
|
|
displayName: Build cache quickly
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- 202012
|
|
|
|
|
2023-02-27 00:34:23 -06:00
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: buildimage
|
|
|
|
type: github
|
|
|
|
name: sonic-net/sonic-buildimage
|
|
|
|
ref: master
|
|
|
|
endpoint: sonic-net
|
|
|
|
|
2021-06-23 20:44:40 -05:00
|
|
|
trigger: none
|
|
|
|
pr: none
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- stage: Build
|
|
|
|
pool: sonicbld
|
|
|
|
variables:
|
2021-12-23 02:16:55 -06:00
|
|
|
- name: CACHE_MODE
|
|
|
|
value: cache
|
2023-02-27 00:34:23 -06:00
|
|
|
- template: .azure-pipelines/azure-pipelines-repd-build-variables.yml@buildimage
|
|
|
|
- template: .azure-pipelines/template-variables.yml@buildimage
|
2021-06-23 20:44:40 -05:00
|
|
|
jobs:
|
|
|
|
- template: azure-pipelines-build.yml
|
|
|
|
parameters:
|
|
|
|
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}'
|
|
|
|
jobGroups:
|
|
|
|
- name: vs
|
|
|
|
- name: broadcom
|
|
|
|
variables:
|
|
|
|
swi_image: yes
|
|
|
|
docker_syncd_rpc_image: yes
|
|
|
|
platform_rpc: brcm
|
|
|
|
- name: mellanox
|
|
|
|
variables:
|
|
|
|
docker_syncd_rpc_image: yes
|
|
|
|
platform_rpc: mlnx
|
2022-03-23 09:36:53 -05:00
|
|
|
- name: marvell-armhf
|
|
|
|
pool: sonicbld-armhf
|
|
|
|
timeoutInMinutes: 1200
|
|
|
|
variables:
|
|
|
|
PLATFORM_ARCH: armhf
|