From c5d87676ee4307fbb289d31f1831e07f0bdf97de Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Dec 01 2023 13:22:01 +0000 Subject: Fail if HAProxy returns warnings We resolved all warnings in our production setup now and should keep it this way - hence fail the CI test if new warnings are being introduced. Signed-off-by: Georg Pfuetzenreuter --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61129ce..4ec0daf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,8 +48,6 @@ test_haproxy: - bin/replace_secrets.sh - bin/get_formulas.py -c -d /srv/formula -s --clone-from 'https://gitlab.infra.opensuse.org/saltstack-formulas' --clone-branch production -f haproxy script: bin/test_haproxy.sh - allow_failure: - exit_codes: 2 tags: - docker artifacts: diff --git a/bin/test_haproxy.sh b/bin/test_haproxy.sh index 849d9c0..c1361e0 100755 --- a/bin/test_haproxy.sh +++ b/bin/test_haproxy.sh @@ -138,9 +138,7 @@ fi if [ "$counter_wobbly" -gt 0 ] then - # https://gitlab.com/gitlab-org/gitlab-runner/-/issues/28658 - exit 0 - # exit 2 + exit 2 fi exit 0