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:
parent
d0634461ad
commit
3fbf10b25e
1 changed files with 10 additions and 0 deletions
|
@ -11,6 +11,16 @@ log()
|
||||||
}
|
}
|
||||||
|
|
||||||
start_time=$(date +%s)
|
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")
|
output=$(copr build --nowait @copr/copr-ping "$source_rpm_url")
|
||||||
build_id=$(echo "$output" | grep 'Created builds:' | cut -d' ' -f3)
|
build_id=$(echo "$output" | grep 'Created builds:' | cut -d' ' -f3)
|
||||||
exit_status=$?
|
exit_status=$?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue