aboutsummaryrefslogtreecommitdiffstats
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:23:02 +0200
commitd6529f25c06fd7888bcb20817f69f53d8ba50930 (patch)
tree5d13ffceb248d536a77e21096cf368987ffa8012
parent7b93fa27c4ce6e1c280ed9c3218c19b02068de44 (diff)
Publish Functest Virtual Machinesstable/kali
Change-Id: I0c0b40df0fe1d72be07b950320f0e759156dd3b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 76be4ab4dae0348baff605dbc0e5dc12cbd4f92f) (cherry picked from commit 474758b01da28027b437538e94891e1194bcb6a3)
-rw-r--r--elements/functest/element-deps1
-rwxr-xr-xelements/functest/install.d/16-functest17
-rw-r--r--tox.ini2
3 files changed, 19 insertions, 1 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..13253f7af
--- /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:kali \
+ opnfv/functest-smoke:kali \
+ opnfv/functest-smoke-cntt:kali \
+ opnfv/functest-benchmarking:kali \
+ opnfv/functest-benchmarking-cntt:kali \
+ opnfv/functest-vnf:kali
+mkdir -p /data/images && wget -q -O- https://git.opnfv.org/functest/plain/functest/ci/download_images.sh?h=stable/kali | 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/kali && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest
+
+exit 0
diff --git a/tox.ini b/tox.ini
index d101637de..97a2bb4bd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -97,7 +97,7 @@ commands = nosetests --with-coverage --cover-tests \
[testenv:perm]
basepython = python3.8
whitelist_externals = bash
-path=. -not -path './.tox/*' -not -path './.git/*' -not -path './docs/com/pres/reveal.js/*'
+path=. -not -path './.tox/*' -not -path './.git/*' -not -path './docs/com/pres/reveal.js/*' -not -path './elements/functest/install.d/*'
commands =
bash -c "\
find {[testenv:perm]path} \( -type f -not -perm 644 -o -type d -not -perm 755 \) \