update link to upper-constraints.txt 18/137418/2 master
authorthmsdt <thomas.kulik@telekom.de>
Tue, 27 Feb 2024 10:30:46 +0000 (11:30 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Tue, 9 Apr 2024 09:02:11 +0000 (11:02 +0200)
fix allowlist_externals in tox.ini

Issue-ID: DOC-823

Change-Id: If6519321db36dea6a7b84ec480d02bdd340c9c71
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
docs/tox.ini
tox.ini

index 9d0f3ee..73e317e 100644 (file)
@@ -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 (file)
--- 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"