[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
This commit is contained in:
parent
2532661cd9
commit
979516633d
@ -114,12 +114,19 @@ jobs:
|
|||||||
docker_syncd_rpc_image: yes
|
docker_syncd_rpc_image: yes
|
||||||
platform_rpc: nephos
|
platform_rpc: nephos
|
||||||
|
|
||||||
|
- name: pensando
|
||||||
|
pool: sonicbld-arm64
|
||||||
|
variables:
|
||||||
|
PLATFORM_ARCH: arm64
|
||||||
|
|
||||||
buildSteps:
|
buildSteps:
|
||||||
- template: .azure-pipelines/template-skipvstest.yml@buildimage
|
- template: .azure-pipelines/template-skipvstest.yml@buildimage
|
||||||
- template: .azure-pipelines/template-daemon.yml@buildimage
|
- template: .azure-pipelines/template-daemon.yml@buildimage
|
||||||
- bash: |
|
- bash: |
|
||||||
set -ex
|
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
|
if [ $(dbg_image) == yes ]; then
|
||||||
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz
|
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz
|
||||||
mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz
|
mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz
|
||||||
|
Reference in New Issue
Block a user