Skip to content

Commit

Permalink
Add new build pipeline for smartswitch (#20855)
Browse files Browse the repository at this point in the history
Add new build pipeline for Nvidia smartswitch

Signed-off-by: Prabhat Aravind <[email protected]>
  • Loading branch information
prabhataravind authored Nov 19, 2024
1 parent 5211758 commit a54df37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
docker_syncd_rpc_image: no
syncd_rpc_image: no
platform_rpc: no
ss_image: no
${{ if parameters.qemuOrCrossBuild }}:
SONIC_SLAVE_DOCKER_DRIVER: 'vfs'
CACHE_MODE: 'none'
Expand Down Expand Up @@ -106,6 +107,7 @@ jobs:
- name: mellanox
variables:
dbg_image: yes
ss_image: yes
docker_syncd_rpc_image: yes
syncd_rpc_image: yes
platform_rpc: mlnx
Expand Down Expand Up @@ -161,6 +163,9 @@ jobs:
if [ $(dbg_image) == yes ]; then
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-$(GROUP_NAME).bin
mv target/sonic-$(GROUP_NAME).bin target/sonic-$(GROUP_NAME)-dbg.bin
elif [ $(ss_image) == yes ]; then
make $BUILD_OPTIONS SMARTSWITCH=1 INCLUDE_DHCP_SERVER=y target/sonic-$(GROUP_NAME).bin
mv target/sonic-$(GROUP_NAME).bin target/sonic-$(GROUP_NAME)-smartswitch.bin
fi
if [ $(swi_image) == yes ]; then
make $BUILD_OPTIONS ENABLE_IMAGE_SIGNATURE=y target/sonic-aboot-$(GROUP_NAME).swi
Expand Down

0 comments on commit a54df37

Please sign in to comment.