aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-10-20 08:46:19 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2023-10-23 16:28:29 +0200
commite55112216dd4fc28216e8e5106cf58dc89829cc5 (patch)
treeca72b38d05dabe1a78ebbf3ac4af2d702cd20f3b
parentdfee48b28ad8b089fab72976a174671ce7ccb683 (diff)
Allow building Functest Kubernetes Virtual Machinesstable/v1.22
Change-Id: I0a18096fc10547423baf6282e3eb9f4d96cd8473 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 049f674dd8a1b0e16ba8b37df72f936d8d0f0e5b)
-rw-r--r--elements/functest-kubernetes/element-deps1
-rwxr-xr-xelements/functest-kubernetes/install.d/16-functest-kubernetes14
2 files changed, 15 insertions, 0 deletions
diff --git a/elements/functest-kubernetes/element-deps b/elements/functest-kubernetes/element-deps
new file mode 100644
index 00000000..d06e3d77
--- /dev/null
+++ b/elements/functest-kubernetes/element-deps
@@ -0,0 +1 @@
+xtestingci
diff --git a/elements/functest-kubernetes/install.d/16-functest-kubernetes b/elements/functest-kubernetes/install.d/16-functest-kubernetes
new file mode 100755
index 00000000..34070fa7
--- /dev/null
+++ b/elements/functest-kubernetes/install.d/16-functest-kubernetes
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+download-frozen-image-v2.sh /data/docker/functest-kubernetes \
+ opnfv/functest-kubernetes-healthcheck:v1.22 \
+ opnfv/functest-kubernetes-smoke:v1.22 \
+ opnfv/functest-kubernetes-benchmarking:v1.22 \
+ opnfv/functest-kubernetes-security:v1.22 \
+ opnfv/functest-kubernetes-cnf:v1.22
+(cd /home/debian/functest-kubernetes && \
+ git fetch --tags https://git.opnfv.org/functest-kubernetes stable/v1.22 && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest-kubernetes
+
+exit 0