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:25:33 +0200
commit049f674dd8a1b0e16ba8b37df72f936d8d0f0e5b (patch)
treee093e29ac098c8dd3e32e07cd70e0caf355d855e
parentc38ea410d766901b73ff6704b5352d55875e3cc2 (diff)
Allow building Functest Kubernetes Virtual Machines
Change-Id: I0a18096fc10547423baf6282e3eb9f4d96cd8473 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-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..f3c82d54
--- /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.26 \
+ opnfv/functest-kubernetes-smoke:v1.26 \
+ opnfv/functest-kubernetes-benchmarking:v1.26 \
+ opnfv/functest-kubernetes-security:v1.26 \
+ opnfv/functest-kubernetes-cnf:v1.26
+(cd /home/debian/functest-kubernetes && \
+ git fetch --tags https://git.opnfv.org/functest-kubernetes stable/v1.26 && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest-kubernetes
+
+exit 0