diff options
-rw-r--r-- | elements/xtesting/element-deps | 1 | ||||
-rwxr-xr-x | elements/xtesting/install.d/16-xtesting | 11 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/elements/xtesting/element-deps b/elements/xtesting/element-deps new file mode 100644 index 00000000..d06e3d77 --- /dev/null +++ b/elements/xtesting/element-deps @@ -0,0 +1 @@ +xtestingci diff --git a/elements/xtesting/install.d/16-xtesting b/elements/xtesting/install.d/16-xtesting new file mode 100755 index 00000000..6498aec2 --- /dev/null +++ b/elements/xtesting/install.d/16-xtesting @@ -0,0 +1,11 @@ +#!/bin/bash + +download-frozen-image-v2.sh /data/docker/xtesting \ + opnfv/xtesting:xena +git init /home/debian/functest-xtesting && \ +(cd /home/debian/functest-xtesting && \ + git fetch --tags https://git.opnfv.org/functest-xtesting stable/xena && \ + git checkout FETCH_HEAD) && \ +chown -R 1000:1000 /home/debian/functest-xtesting + +exit 0 @@ -73,7 +73,7 @@ commands = nosetests --with-coverage --cover-tests \ [testenv:perm] basepython = python3.9 whitelist_externals = bash -path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/reveal.js/*' +path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/reveal.js/*' -not -path './elements/xtesting/install.d/*' commands = bash -c "\ find {[testenv:perm]path} \( -type f -not -perm 644 -o -type d -not -perm 755 \) \ |