mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
logging/retries: curb CI/GHA warning emitted _for each retry_
This commit is contained in:
committed by
igorpecovnik
parent
c351936cb0
commit
78700cf139
@@ -30,7 +30,8 @@ function do_with_retries() {
|
|||||||
if [[ "${silent_retry}" == "yes" ]]; then
|
if [[ "${silent_retry}" == "yes" ]]; then
|
||||||
: # do nothing
|
: # do nothing
|
||||||
else
|
else
|
||||||
display_alert "Command failed, retrying in ${sleep_seconds}s" "$*" "warn"
|
# skip_ci_special="yes": don't write this warning to CI/GHA summary. retries are normal in GHA and pollute the Summary view
|
||||||
|
skip_ci_special="yes" display_alert "Command failed, retrying in ${sleep_seconds}s" "$*" "warn"
|
||||||
fi
|
fi
|
||||||
unset IS_A_RETRY
|
unset IS_A_RETRY
|
||||||
unset RETRY_RUNS
|
unset RETRY_RUNS
|
||||||
|
|||||||
Reference in New Issue
Block a user