diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-10-19 14:43:02 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-10-23 15:35:03 +0200 |
commit | b25fc9686a1a749c2a1cc82866a4771415d95125 (patch) | |
tree | 206278410bd5b753ea0b71aebf133f1c742f1b28 | |
parent | a5be192daf440e217c7fecb670948fe41e3a4edf (diff) |
Build Xtesting virtual machines
Change-Id: Ia3d82b3b77b3fab3e88405a07cb7151258538b04
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 62e48435a210489e614602d54c957555a02b7072)
-rw-r--r-- | elements/xtesting/element-deps | 1 | ||||
-rwxr-xr-x | elements/xtesting/install.d/16-xtesting | 11 | ||||
-rw-r--r-- | tox.ini | 6 |
3 files changed, 15 insertions, 3 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..4adb0c09 --- /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:zed +git init /home/debian/functest-xtesting && \ +(cd /home/debian/functest-xtesting && \ + git fetch --tags https://git.opnfv.org/functest-xtesting stable/zed && \ + git checkout FETCH_HEAD) && \ +chown -R 1000:1000 /home/debian/functest-xtesting + +exit 0 @@ -30,7 +30,7 @@ commands = flake8 [testenv:pylint] basepython = python3.10 -whitelist_externals = bash +allowlist_externals = bash commands = pylint --min-similarity-lines=10 \ --disable=locally-disabled --ignore-imports=y --reports=n --extension-pkg-whitelist=lxml xtesting @@ -66,8 +66,8 @@ commands = [testenv:perm] basepython = python3.10 -whitelist_externals = bash -path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/reveal.js/*' +allowlist_externals = bash +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 \) \ |