From 979516633d97f18a781f222b2c28e1b5df674d0c Mon Sep 17 00:00:00 2001 From: Liu Shilong Date: Fri, 15 Dec 2023 16:52:51 +0800 Subject: [PATCH] [ci] Support pensando platform build in pipeline. (#17512) Why I did it Update pipeline file to support pensando's build. Work item tracking Microsoft ADO (number only): 26087700 How I did it How to verify it --- .azure-pipelines/azure-pipelines-build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/azure-pipelines-build.yml b/.azure-pipelines/azure-pipelines-build.yml index 961e72a3e..d7f87456f 100644 --- a/.azure-pipelines/azure-pipelines-build.yml +++ b/.azure-pipelines/azure-pipelines-build.yml @@ -114,12 +114,19 @@ jobs: docker_syncd_rpc_image: yes platform_rpc: nephos + - name: pensando + pool: sonicbld-arm64 + variables: + PLATFORM_ARCH: arm64 + buildSteps: - template: .azure-pipelines/template-skipvstest.yml@buildimage - template: .azure-pipelines/template-daemon.yml@buildimage - bash: | set -ex - if [ $(GROUP_NAME) == vs ]; then + if [ $(GROUP_NAME) == pensando ]; then + make $BUILD_OPTIONS target/sonic-pensando.tar + elif [ $(GROUP_NAME) == vs ]; then if [ $(dbg_image) == yes ]; then make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz