Skip to content

Commit

Permalink
[ci] Fix pipeline issue caused by sonic-slave-* change. (sonic-net#2709)
Browse files Browse the repository at this point in the history
What I did
These 3 packages maybe purged by default. Do not block pipeline.
Download deb/whl packages only to accelerate download process.
How I did it
How to verify it
  • Loading branch information
liushilongbuaa authored and isabelmsft committed Mar 23, 2023
1 parent bf24267 commit 696da18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,14 @@ stages:
artifact: sonic-buildimage.vs
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(sourceBranch)'
patterns: |
**/*.deb
**/*.whl
displayName: "Download artifacts from latest sonic-buildimage build"

- script: |
set -xe
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev || true
sudo dpkg -i libnl-3-200_*.deb
sudo dpkg -i libnl-genl-3-200_*.deb
sudo dpkg -i libnl-route-3-200_*.deb
Expand Down

0 comments on commit 696da18

Please sign in to comment.