Use grep in CI chart test
Validate, publish, and deploy Brave Sync / validate (push) Successful in 13s
Validate, publish, and deploy Brave Sync / image (push) Failing after 5s
Validate, publish, and deploy Brave Sync / chart (push) Skipped
Validate, publish, and deploy Brave Sync / deploy (push) Skipped
Validate, publish, and deploy Brave Sync / validate (push) Successful in 13s
Validate, publish, and deploy Brave Sync / image (push) Failing after 5s
Validate, publish, and deploy Brave Sync / chart (push) Skipped
Validate, publish, and deploy Brave Sync / deploy (push) Skipped
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user