Skip to content

Commit

Permalink
Fix pipeline error for vs image
Browse files Browse the repository at this point in the history
Why I did it
PR checker failed to build vs image.

How I did it
Build vs image at first, and then build GNMI test container.

How to verify it
Create new PR and check build pipeline.
  • Loading branch information
ganglyu authored Oct 23, 2022
1 parent 40fde65 commit f1b4b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ jobs:
make $BUILD_OPTIONS ENABLE_ASAN=y target/docker-sonic-vs.gz
mv target/docker-sonic-vs.gz target/docker-sonic-vs-asan.gz
fi
make $BUILD_OPTIONS target/docker-sonic-vs.gz target/sonic-vs.img.gz target/docker-ptf.gz
if [ $(gnmi_test_container) == yes ]; then
make $BUILD_OPTIONS target/docker-gnmi-test.gz
fi
make $BUILD_OPTIONS target/docker-sonic-vs.gz target/sonic-vs.img.gz target/docker-ptf.gz
if [ $(Build.Reason) != 'PullRequest' ];then
gzip -kd target/sonic-vs.img.gz
SONIC_RUN_CMDS="qemu-img convert target/sonic-vs.img -O vhdx -o subformat=dynamic target/sonic-vs.vhdx" make sonic-slave-run
Expand Down

0 comments on commit f1b4b60

Please sign in to comment.