forked from sonic-net/sonic-platform-vpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
27 lines (25 loc) · 812 Bytes
/
azure-pipelines.yml
File metadata and controls
27 lines (25 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pr:
- main
trigger:
batch: true
branches:
include:
- main
stages:
- stage: Build
jobs:
- job: build
pool: sonicbld
timeoutInMinutes: 360
steps:
- bash: |
sudo rm -rf build/sonic-buildimage/fsroot-vpp
- checkout: self
clean: true
- bash: |
set -ex
make sonic_vm DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io MIRROR_SNAPSHOT=y SONIC_VERSION_CONTROL_COMPONENTS=all DOCKER_BUILDKIT=0 SONIC_BUILD_RETRY_INTERVAL=600 SONIC_BUILD_RETRY_COUNT=3 ENABLE_DOCKER_BASE_PULL=y
cp build/sonic-buildimage/target/docker-sonic-vpp.gz $(Build.ArtifactStagingDirectory)
cp build/sonic-buildimage/target/sonic-vpp.img.gz $(Build.ArtifactStagingDirectory)
- publish: $(Build.ArtifactStagingDirectory)/
artifact: sonic-platform-vpp