Skip to content

Commit cd519aa

Browse files
[ci] Fix pipeline issue caused by sonic-slave-* change. (sonic-net#2709)
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
1 parent 2680e6f commit cd519aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

azure-pipelines.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ stages:
4545
artifact: sonic-buildimage.vs
4646
runVersion: 'latestFromBranch'
4747
runBranch: 'refs/heads/$(sourceBranch)'
48+
patterns: |
49+
**/*.deb
50+
**/*.whl
4851
displayName: "Download artifacts from latest sonic-buildimage build"
4952

5053
- script: |
5154
set -xe
52-
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev
55+
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev || true
5356
sudo dpkg -i libnl-3-200_*.deb
5457
sudo dpkg -i libnl-genl-3-200_*.deb
5558
sudo dpkg -i libnl-route-3-200_*.deb

0 commit comments

Comments
 (0)