From: Cédric Ollivier Date: Wed, 10 Jul 2019 18:20:39 +0000 (+0200) Subject: Turn bashate warnings into errors X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F68214%2F4;p=functest-kubernetes.git Turn bashate warnings into errors It also fixes the warning. Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3 Signed-off-by: Cédric Ollivier --- diff --git a/build.sh b/build.sh index 46ff4887..cdb9bec0 100644 --- a/build.sh +++ b/build.sh @@ -28,7 +28,8 @@ for dir in ${amd64_dirs}; do done [ ! -z "${amd64_dirs}" ] && (docker rmi \ - "${repo}/functest-kubernetes-core:amd64-latest" golang:alpine3.9 || true) + "${repo}/functest-kubernetes-core:amd64-latest" \ + golang:alpine3.9 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ diff --git a/tox.ini b/tox.ini index e512141b..a58833c0 100644 --- a/tox.ini +++ b/tox.ini @@ -48,4 +48,4 @@ commands = nosetests functest_kubernetes basepython = python2.7 files = build.sh -commands = bashate {[testenv:bashate]files} +commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}