Skip to content

Commit

Permalink
[ci]: build nvidia bluefield dpu image (#19004)
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <lguohan@gmail.com>
  • Loading branch information
lguohan authored May 22, 2024
1 parent f7d0fa8 commit 7d7332a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .azure-pipelines/azure-pipelines-UpgrateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ parameters:
- marvell-arm64
- mellanox
- pensando
- nvidia-bluefield

stages:
- stage: Prepare
Expand Down Expand Up @@ -117,7 +118,7 @@ stages:
echo "artifacts$artifacts"
cp -r $(Pipeline.Workspace)/sonic-buildimage.${default_platform}/target/versions target/
make freeze FREEZE_VERSION_OPTIONS=-r
find files/build/versions
find files/build/versions
ordered_artifacts=$(echo "$artifacts" | grep -v -E "arm64|armhf" && echo "$artifacts" | grep -E "arm64|armhf")
for artifact in $ordered_artifacts
do
Expand Down Expand Up @@ -179,4 +180,4 @@ stages:
- publish: $(System.DefaultWorkingDirectory)/files/build/versions
artifact: 'sonic-buildimage.versions'
displayName: 'Archive SONiC versions'

7 changes: 6 additions & 1 deletion .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ jobs:
variables:
PLATFORM_ARCH: arm64

- name: nvidia-bluefield
pool: sonicbld-arm64
variables:
PLATFORM_ARCH: arm64

buildSteps:
- template: .azure-pipelines/template-skipvstest.yml@buildimage
- template: .azure-pipelines/template-daemon.yml@buildimage
Expand Down Expand Up @@ -170,7 +175,7 @@ jobs:
make $BUILD_OPTIONS ENABLE_SYNCD_RPC=y target/docker-syncd-$(platform_rpc)-dnx-rpc.gz
pushd ./src/sonic-sairedis/SAI
git stash
popd
popd
fi
fi
if [ $(syncd_rpc_image) == yes ]; then
Expand Down

0 comments on commit 7d7332a

Please sign in to comment.