From df4d49fa16bde99f639b67d0db36574bc64dedae Mon Sep 17 00:00:00 2001 From: Zain Budhwani <99770260+zbud-msft@users.noreply.github.com> Date: Wed, 19 Jul 2023 22:03:54 -0700 Subject: [PATCH] Install necessary debs instead of entire artifact in azp (#137) 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 --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1485bc62..c3226c50 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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