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:27:23 +0200
commitcc785cf95a78dc2a6573a9bdc32f4c648bcd9e14 (patch)
tree76ed571d0da6c01e7d1e13eccb3f7baf03cc85ea
parent1f07d652f356ca606c8d953d80e9ffc1d65e39e3 (diff)
Allow building Functest Kubernetes Virtual Machines
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..3a003d26
--- /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.24 \
+ opnfv/functest-kubernetes-smoke:v1.24 \
+ opnfv/functest-kubernetes-benchmarking:v1.24 \
+ opnfv/functest-kubernetes-security:v1.24 \
+ opnfv/functest-kubernetes-cnf:v1.24
+(cd /home/debian/functest-kubernetes && \
+ git fetch --tags https://git.opnfv.org/functest-kubernetes stable/v1.24 && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest-kubernetes
+
+exit 0