From fb015f7ef3d4c69536d473aa5b1f7bf719718bae Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 28 Dec 2019 15:48:51 -0800 Subject: [PATCH] Fix test failures --- .gitlab-ci.yml | 8 ++++++-- .hadolint.yaml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c2b8b8..392840e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,9 @@ lint:dockerfile: - mkdir ~/.config - cp ./.hadolint.yaml ~/.config/hadolint.yaml script: - - find . -name "Dockerfile" -execdir hadolint {} \; + - | + set -eo pipefail + find . -name "Dockerfile" -execdir hadolint {} \; lint:shell-script: stage: test @@ -25,7 +27,9 @@ lint:shell-script: before_script: - shellcheck -V script: - - find . -name "*.sh" -exec shellcheck {} \; + - | + set -eo pipefail + find . -name "*.sh" -exec shellcheck {} \; # # IMAGE BUILDS/PUSHES diff --git a/.hadolint.yaml b/.hadolint.yaml index 5bc0e7f..f6e0d04 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -1,3 +1,3 @@ ignored: - DL3008 - - DL3013 +# - DL3013 -- GitLab