aboutsummaryrefslogtreecommitdiffstats
path: root/elements
diff options
context:
space:
mode:
Diffstat (limited to 'elements')
-rw-r--r--elements/functest/element-deps1
-rwxr-xr-xelements/functest/install.d/16-functest17
2 files changed, 18 insertions, 0 deletions
diff --git a/elements/functest/element-deps b/elements/functest/element-deps
new file mode 100644
index 000000000..d06e3d771
--- /dev/null
+++ b/elements/functest/element-deps
@@ -0,0 +1 @@
+xtestingci
diff --git a/elements/functest/install.d/16-functest b/elements/functest/install.d/16-functest
new file mode 100755
index 000000000..a89e93f17
--- /dev/null
+++ b/elements/functest/install.d/16-functest
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+download-frozen-image-v2.sh /data/docker/functest \
+ opnfv/functest-healthcheck:jerma \
+ opnfv/functest-smoke:jerma \
+ opnfv/functest-smoke-cntt:jerma \
+ opnfv/functest-benchmarking:jerma \
+ opnfv/functest-benchmarking-cntt:jerma \
+ opnfv/functest-vnf:jerma
+mkdir -p /data/images && wget -q -O- https://git.opnfv.org/functest/plain/functest/ci/download_images.sh?h=stable/jerma | sh -s -- /data/images && ls -1 /data/images/*
+git init /home/debian/functest && \
+(cd /home/debian/functest && \
+ git fetch --tags https://git.opnfv.org/functest stable/jerma && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest
+
+exit 0