From 7fdacccac18780f59cda7e825b8ed5a177db9acf Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Wed, 10 Jul 2019 20:20:39 +0200 Subject: [PATCH] Turn bashate warnings into errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It also fixes the warning. Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3 Signed-off-by: Cédric Ollivier (cherry picked from commit 424717dfd95388ff2ddc9fe929ac170689a78eca) --- build.sh | 3 ++- tox.ini | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 6870beb9..d882997f 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-hunter" golang:1.11-alpine3.9 || true) + "${repo}/functest-kubernetes-core:amd64-hunter" \ + golang:1.11-alpine3.9 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ diff --git a/tox.ini b/tox.ini index 71e33ed7..38925f12 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} -- 2.16.6