Skip to content

Commit

Permalink
Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
yue-fred-gao committed Jan 14, 2025
1 parent e927b44 commit 1649b7b
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .azure-pipelines/offical-build-vpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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

pr:
branches:
include:
- master
paths:
exclude:
- .github

schedules:
- cron: "0 8 * * *"
displayName: Daily midnight build
branches:
include:
- master
always: true

resources:
repositories:
- repository: buildimage
type: github
name: sonic-net/sonic-buildimage
ref: master
endpoint: sonic-net

trigger: none

variables:
- template: template-variables.yml@buildimage
- name: CACHE_MODE
value: rcache
- name: ENABLE_FIPS
value: y

stages:
- stage: Build
pool: sonicbld-1es
variables:
- group: Container-Registry
- name: CACHE_MODE
value: wcache
- template: azure-pipelines-repd-build-variables.yml@buildimage
jobs:
- template: azure-pipelines-build.yml
parameters:
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}'
jobFilters: none
jobGroups:
- name: vpp
variables:
dbg_image: yes

0 comments on commit 1649b7b

Please sign in to comment.