aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2024-02-27 11:30:46 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-04-09 11:02:11 +0200
commit95c9fc3d84ec1fafed3ab5ddfa1c580fc1227e02 (patch)
tree2677eeb59a3b4cd5a9300573c4efd48a57b30d5d
parent937e29371725448ddbe41a245c88bbfa5ad07729 (diff)
update link to upper-constraints.txtHEADmaster
fix allowlist_externals in tox.ini Issue-ID: DOC-823 Change-Id: If6519321db36dea6a7b84ec480d02bdd340c9c71 Signed-off-by: thmsdt <thomas.kulik@telekom.de>
-rw-r--r--docs/tox.ini6
-rw-r--r--tox.ini5
2 files changed, 6 insertions, 5 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
index 9d0f3ee..73e317e 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -7,7 +7,7 @@ skipsdist = true
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://releases.openstack.org/constraints/upper/yoga
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
@@ -16,7 +16,7 @@ commands =
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://releases.openstack.org/constraints/upper/yoga
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
@@ -25,7 +25,7 @@ commands =
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://releases.openstack.org/constraints/upper/yoga
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck
diff --git a/tox.ini b/tox.ini
index 8dc20c9..0bd2d9e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,7 @@ skipsdist=True
envlist = py3, pylint, flake8diff
[testenv]
+allowlist_externals=/bin/cp, /bin/bash, /bin/rm
distribute = False
basepython=python3
setenv =
@@ -26,7 +27,7 @@ deps = -r{toxinidir}/requirements.txt
source=./apps/,./osdf/,osdfapp.py,./runtime/,solverapp.py
[testenv:pylint]
-whitelist_externals=bash
+allowlist_externals=bash
commands = bash -c "pylint --reports=y osdf apps runtime| tee pylint.out"
[testenv:py3]
@@ -34,7 +35,7 @@ basepython=python3
[testenv:flake8diff]
basepython=python3
-whitelist_externals=bash
+allowlist_externals=bash
deps = hacking>=2.0.0
commands =
bash -c "files=$(git diff HEAD^ HEAD --diff-filter=d --name-only | grep -E '(^apps\/|osdf\/|runtime\/)'| grep -E '*\.py$'); if [[ -z $files ]]; then exit 0; else flake8 $files; fi"