diff options
author | 2025-03-03 21:25:48 +0100 | |
---|---|---|
committer | 2025-03-03 21:26:28 +0100 | |
commit | 1973be329527f1475574047a86e09215a88b2831 (patch) | |
tree | 270f120913e06e4aba2a1460484da8d29fb1d837 /jjb/functest/xtesting-ci.yaml | |
parent | cbdd1a0c0353e37a90f584346d0df218703d262a (diff) |
Force install in non interactive mode
Change-Id: Iabb004850da8d48d5e86ce043c01244f527a74fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest/xtesting-ci.yaml')
-rw-r--r-- | jjb/functest/xtesting-ci.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
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 |