aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-12-07 14:15:02 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-12-07 14:25:57 +0100
commitb03d71a9c7df73712e5c0f289600639e2e2cc282 (patch)
tree43a66e8b3013eabc24e5647d81bd626d203f1d0f
parent4472e836a2a99f55dda3e09f3e1cae50d3ccaf88 (diff)
Disable false ansiblelint warnings
git commit has to be executed via shell module [1]. it also fixes Functest branch [1] https://github.com/ansible/ansible/issues/50334 Change-Id: Ie4595f7bc2b54545b2f824f5ac3fb1d20340f13c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit abe7e05d27f7801b902821a85186dca0c9e563ae)
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 9aa84153..5e3a907e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@ envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit,perm
[testenv]
usedevelop = True
deps =
- -chttps://git.opnfv.org/functest/plain/upper-constraints.txt
+ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=stable/hunter
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/rocky/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
@@ -35,7 +35,7 @@ commands =
[testenv:ansiblelint]
basepython = python2.7
-commands = ansible-lint ansible/site.yml
+commands = ansible-lint -x303 ansible/site.yml
[testenv:bandit]
basepython = python2.7