From 1973be329527f1475574047a86e09215a88b2831 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 3 Mar 2025 21:25:48 +0100 Subject: Force install in non interactive mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iabb004850da8d48d5e86ce043c01244f527a74fc Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting-ci.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'jjb/functest/xtesting-ci.yaml') diff --git a/jjb/functest/xtesting-ci.yaml b/jjb/functest/xtesting-ci.yaml index 213cb3cc7..f9e757acb 100644 --- a/jjb/functest/xtesting-ci.yaml +++ b/jjb/functest/xtesting-ci.yaml @@ -25,9 +25,11 @@ fi sudo rm -rfv /data /tmp/xtesting* if [ $(lsb_release -r -s |cut -d\. -f1) -ge "22" ]; then - sudo apt-get install ansible patch -y + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install ansible patch -y else - sudo apt-get install patch -y + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install patch -y sudo pip3 install ansible fi rm -rf ~/.ansible/roles/collivier.xtesting @@ -70,10 +72,12 @@ sudo rm -rfv /data /tmp/xtesting* EOF if [ $(lsb_release -r -s |cut -d\. -f1) -ge "22" ]; then - sudo apt-get install ansible patch -y + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install ansible patch -y else sudo apt-get install patch -y - sudo pip3 install ansible + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install ansible fi rm -rf ~/.ansible/roles/collivier.xtesting case {release} in -- cgit