Skip to content

Commit

Permalink
Install necessary debs instead of entire artifact in azp (sonic-net#137)
Browse files Browse the repository at this point in the history
Why I did it

sonic-gnmi pipeline breaks with error: "System.IO.IOException: No space left on device : '/home/vsts/agents/3.220.5/_diag/Worker_20230719-220457-utc.log'"

How I did it

Only install necessary bullseye debs instead of entire artifact
  • Loading branch information
zbud-msft authored and StormLiangMS committed Oct 7, 2023
1 parent d1467d3 commit df4d49f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ stages:
artifact: sonic-buildimage.vs
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
displayName: "Download sonic buildimage"
patterns: |
target/debs/bullseye/libyang*.deb
target/debs/bullseye/libnl*.deb
target/debs/bullseye/libhiredis*.deb
displayName: "Download bullseye debs"

- script: |
# PYTEST
Expand Down

0 comments on commit df4d49f

Please sign in to comment.