copr-be-dev: copr-ping task to always succeed

It is acceptable (and sometimes expected) to have non-working staging
system.  No need to report that to infra team.
This commit is contained in:
Pavel Raiskup 2021-10-28 09:48:57 +02:00
parent d0634461ad
commit 3fbf10b25e

View file

@ -11,6 +11,16 @@ log()
}
start_time=$(date +%s)
#{% if devel %}
build_id=1
exit_status=0
log
exit 0
#{% endif %}
output=$(copr build --nowait @copr/copr-ping "$source_rpm_url")
build_id=$(echo "$output" | grep 'Created builds:' | cut -d' ' -f3)
exit_status=$?