Allow overriding test images (#186)

This commit is contained in:
kfox1111
2023-06-14 21:17:08 +02:00
committed by GitHub
parent 250fd5db00
commit 4c0a1d52c5
8 changed files with 55 additions and 10 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
set -o pipefail
# Look for image: definitions that are not templated. If we find none, exit is not 0 and we invert the error code to get the
# test to pass. Ignore tests for now...
grep "image:" charts/spire/charts/*/templates/*.* | grep -v 'image: {{ template "' > /tmp/findings
grep -r "image:" charts/spire | grep "templates/" | grep -v 'image: {{ template "' > /tmp/findings
res=$?
if [ $res -eq 0 ]; then
{