aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-07-10 20:20:39 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-07-10 20:22:22 +0200
commitf43e3cdcb121bb9229a15d464b021155305472cb (patch)
treee9408663121e7b03ec5f5919dde387815ea33f02
parentef040105dd9e6c82acce1a8e95b7d8a72ad61e33 (diff)
Turn bashate warnings into errors
It also fixes the warning. Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 424717dfd95388ff2ddc9fe929ac170689a78eca)
-rw-r--r--build.sh3
-rw-r--r--tox.ini2
2 files changed, 3 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 7dce178c..6f0ab5e7 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-iruya" golang:1.12-alpine3.9 || true)
+ "${repo}/functest-kubernetes-core:amd64-iruya" \
+ golang:1.12-alpine3.9 || true)
find . -name Dockerfile -exec git checkout {} +
find . -name Dockerfile -exec sed -i \
diff --git a/tox.ini b/tox.ini
index 8891d864..d2f97093 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}