Install curl because some tests install kind before running XtestingCI 58/74858/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 25 Apr 2025 13:47:57 +0000 (15:47 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 25 Apr 2025 13:47:57 +0000 (15:47 +0200)
Change-Id: I3208e4715709d33363366f92fe048af8d7f948ab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/functest/xtesting-ci.yaml

index 6162cac..a1d2633 100644 (file)
@@ -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
           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
             -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 \
             -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 \
             -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 \
           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 \