Change-Id: Ia3d82b3b77b3fab3e88405a07cb7151258538b04
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
--- /dev/null
+xtestingci
--- /dev/null
+#!/bin/bash
+
+download-frozen-image-v2.sh /data/docker/xtesting \
+ opnfv/xtesting:2023.1
+git init /home/debian/functest-xtesting && \
+(cd /home/debian/functest-xtesting && \
+ git fetch --tags https://git.opnfv.org/functest-xtesting stable/2023.1 && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest-xtesting
+
+exit 0
[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
[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 \) \