From ad5d20f892ade887f7be5f09920b00cba3f7c7c7 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Fri, 9 Oct 2026 11:43:03 +0200 Subject: [PATCH] Use grep in CI chart test --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index d9f259d..a928038 100755 --- a/test.sh +++ b/test.sh @@ -20,6 +20,6 @@ actual_version=$(helm show chart "${package}" | awk '/^version:/ {print $2}') test "${actual_version}" = "$(<"${project_dir}/chart-version.txt")" actual_image=$(helm show chart "${package}" | awk '/^appVersion:/ {gsub(/"/, "", $2); print $2}') test "${actual_image}" = sha-test -rg -q 'image:.*:sha-test' "${workdir}/rendered.yaml" +grep -Eq 'image:.*:sha-test' "${workdir}/rendered.yaml" echo "Chart lint, package, and render passed"