cfg/.config/sanity.d/deprecated-repo-runner-images.sh
Knut Ahlers 77de640cc8
Remove debugs re-stating the name of the check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-09-06 13:40:14 +02:00

15 lines
353 B
Bash

function sanity_deprecated_reporunner_images() {
[[ -f .repo-runner.yaml ]] || {
report debug "No Repo-Runner config found, skipping check"
return 0
}
grep 'quay.io/luzifer/' .repo-runner.yaml || {
report success "No Quay image found in Repo-Runner config"
return 0
}
report error "Repo-Runner config contains old Quay image"
return 1
}