From fb1ff8718abaae17ef808ee1207ebb7fbb33e614 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 7 Dec 2019 14:15:02 +0100 Subject: Disable false ansiblelint warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit abe7e05d27f7801b902821a85186dca0c9e563ae) --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 14677f3d..79d744fd 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py37,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/jerma -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/train/upper-constraints.txt} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt @@ -36,7 +36,7 @@ commands = [testenv:ansiblelint] basepython = python3.7 -commands = ansible-lint ansible/site.yml +commands = ansible-lint -x303 ansible/site.yml [testenv:bandit] basepython = python3.7 -- cgit 1.2.3-korg