diff options
-rw-r--r-- | elements/functest/element-deps | 1 | ||||
-rwxr-xr-x | elements/functest/install.d/16-functest | 17 | ||||
-rw-r--r-- | tox.ini | 2 |
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..3c47fbfff --- /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:xena \ + opnfv/functest-smoke:xena \ + opnfv/functest-smoke-cntt:xena \ + opnfv/functest-benchmarking:xena \ + opnfv/functest-benchmarking-cntt:xena \ + opnfv/functest-vnf:xena +mkdir -p /data/images && wget -q -O- https://git.opnfv.org/functest/plain/functest/ci/download_images.sh?h=stable/xena | 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/xena && \ + git checkout FETCH_HEAD) && \ +chown -R 1000:1000 /home/debian/functest + +exit 0 @@ -92,7 +92,7 @@ commands = nosetests --with-coverage --cover-tests \ [testenv:perm] basepython = python3.9 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 \) \ |