aboutsummaryrefslogtreecommitdiffstats
path: root/elements
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-10-19 14:50:14 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2023-10-23 18:22:09 +0200
commitdc834d44a2d8ba52c4b4d5734f3c97a4e7cfb987 (patch)
treef36dca5eb0bf31763516b4ee113318a6cebfd619 /elements
parentdba0af1be3857a639d5ebd56a534b8127f504afb (diff)
Publish Functest Virtual Machinesstable/leguer
Change-Id: I0c0b40df0fe1d72be07b950320f0e759156dd3b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 76be4ab4dae0348baff605dbc0e5dc12cbd4f92f) (cherry picked from commit 474758b01da28027b437538e94891e1194bcb6a3)
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..5297d32c8
--- /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:leguer \
+ opnfv/functest-smoke:leguer \
+ opnfv/functest-smoke-cntt:leguer \
+ opnfv/functest-benchmarking:leguer \
+ opnfv/functest-benchmarking-cntt:leguer \
+ opnfv/functest-vnf:leguer
+mkdir -p /data/images && wget -q -O- https://git.opnfv.org/functest/plain/functest/ci/download_images.sh?h=stable/leguer | 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/leguer && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest
+
+exit 0