summaryrefslogtreecommitdiffstats
path: root/jjb/functest/xtesting-ci.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2025-03-03 21:25:48 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2025-03-03 21:26:28 +0100
commit1973be329527f1475574047a86e09215a88b2831 (patch)
tree270f120913e06e4aba2a1460484da8d29fb1d837 /jjb/functest/xtesting-ci.yaml
parentcbdd1a0c0353e37a90f584346d0df218703d262a (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.yaml12
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