From 7bb73ecf40fbe81c0dd9532a61dc4baa8a63cd2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Fri, 25 Apr 2025 15:47:57 +0200 Subject: [PATCH] Install curl because some tests install kind before running XtestingCI MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I3208e4715709d33363366f92fe048af8d7f948ab Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting-ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jjb/functest/xtesting-ci.yaml b/jjb/functest/xtesting-ci.yaml index 6162cacb7..a1d263388 100644 --- a/jjb/functest/xtesting-ci.yaml +++ b/jjb/functest/xtesting-ci.yaml @@ -7,7 +7,7 @@ ssh -T opnfv@172.30.12.84 << EOF sudo apt -o DPkg::Lock::Timeout=300 update sudo DEBIAN_FRONTEND=noninteractive apt \ - -o DPkg::Lock::Timeout=300 install python3-pip docker.io podman -y + -o DPkg::Lock::Timeout=300 install python3-pip docker.io podman curl -y curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.17.0/kind-linux-amd64 chmod +x ./kind sudo mv ./kind /usr/local/bin/kind @@ -150,7 +150,7 @@ set +x sudo apt -o DPkg::Lock::Timeout=300 update sudo DEBIAN_FRONTEND=noninteractive apt \ - -o DPkg::Lock::Timeout=300 install docker.io -y + -o DPkg::Lock::Timeout=300 install docker.io curl -y curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.17.0/kind-linux-amd64 chmod +x ./kind sudo mv ./kind /usr/local/bin/kind @@ -188,7 +188,7 @@ -v /home/opnfv/functest-kubernetes:/home/opnfv/functest-kubernetes \ -v /data:/data -v /run:/run --network host debian:{debian} bash -c "\ apt update && DEBIAN_FRONTEND=noninteractive apt \ - -o DPkg::Lock::Timeout=300 install git -y && \ + -o DPkg::Lock::Timeout=300 install git curl -y && \ case {debian} in \ bullseye) \ [ -z "$VIRTUAL_ENV" ] && DEBIAN_FRONTEND=noninteractive apt \ @@ -267,7 +267,7 @@ -v /home/opnfv/functest-kubernetes:/home/opnfv/functest-kubernetes \ -v /data:/data -v /run:/run --network host ubuntu:{ubuntu} bash -c "\ apt update && DEBIAN_FRONTEND=noninteractive apt \ - -o DPkg::Lock::Timeout=300 install git -y && \ + -o DPkg::Lock::Timeout=300 install git curl -y && \ case {ubuntu} in \ focal) \ [ -z "$VIRTUAL_ENV" ] && DEBIAN_FRONTEND=noninteractive apt \ @@ -359,7 +359,7 @@ -v /data:/data -v /run:/run --network host alpine:{alpine} ash -c "\ case {alpine} in \ *) \ - [ -z "$VIRTUAL_ENV" ] && apk add ansible git ;; \ + [ -z "$VIRTUAL_ENV" ] && apk add ansible git curl ;; \ esac && \ rm -rf ~/.ansible/roles/collivier.xtesting && \ case {release} in \ @@ -455,7 +455,7 @@ yum install epel-release -y case {rockylinux} in \ *) \ - [ -z "$VIRTUAL_ENV" ] && yum install ansible git -y ;; \ + [ -z "$VIRTUAL_ENV" ] && yum install ansible git curl -y ;; \ esac && \ rm -rf ~/.ansible/roles/collivier.xtesting && \ case {release} in \ -- 2.16.6