From 6d44e90e815640bc42ef6a726a7b4b9df19b3864 Mon Sep 17 00:00:00 2001 From: Herve Nicol <12008875+hervenicol@users.noreply.github.com> Date: Fri, 22 Nov 2024 12:08:09 +0100 Subject: [PATCH] tests break if some helm template fails --- CHANGELOG.md | 1 + test/hack/bin/template-chart.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4cf0f62..004e0a82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix dashboard link for `MimirContinuousTestFailing` alert +- Fix tests so they fail if some helm template fails to render ## [4.26.1] - 2024-11-19 diff --git a/test/hack/bin/template-chart.sh b/test/hack/bin/template-chart.sh index 5f9278a9..1efc6fd9 100755 --- a/test/hack/bin/template-chart.sh +++ b/test/hack/bin/template-chart.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -euo pipefail main() { local GIT_WORKDIR