From: Cédric Ollivier Date: Thu, 19 Oct 2023 12:43:02 +0000 (+0200) Subject: Build Xtesting virtual machines X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F74213%2F1;p=functest-xtesting.git Build Xtesting virtual machines Change-Id: Ia3d82b3b77b3fab3e88405a07cb7151258538b04 Signed-off-by: Cédric Ollivier (cherry picked from commit 62e48435a210489e614602d54c957555a02b7072) --- 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..89b48250 --- /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:wallaby +git init /home/debian/functest-xtesting && \ +(cd /home/debian/functest-xtesting && \ + git fetch --tags https://git.opnfv.org/functest-xtesting stable/wallaby && \ + git checkout FETCH_HEAD) && \ +chown -R 1000:1000 /home/debian/functest-xtesting + +exit 0 diff --git a/tox.ini b/tox.ini index 827656dd..74783341 100644 --- a/tox.ini +++ b/tox.ini @@ -73,7 +73,7 @@ commands = nosetests --with-coverage --cover-tests \ [testenv:perm] basepython = python3.8 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 \) \