Skip to content

Commit

Permalink
Merge pull request #271 from perlpunk/investigate-retry-cli
Browse files Browse the repository at this point in the history
Retry openqa-cli requests
  • Loading branch information
mergify[bot] authored Nov 16, 2023
2 parents 8f67e5c + 9405704 commit a21390e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openqa-investigate
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ exclude_no_group="${exclude_no_group:-"true"}"
# exclude_group_regex checks a combined string "<parent job group name> / <job group name>"
exclude_group_regex="${exclude_group_regex:-"Development.*/ "}"
force=${force:-false}
client_args=(api --header 'User-Agent: openqa-investigate (https://github.com/os-autoinst/scripts)' --host "$host_url")
retries=${retries:-"3"}
OPENQA_CLI_RETRY_SLEEP_TIME_S=${OPENQA_CLI_RETRY_SLEEP_TIME_S:-20}
client_args=(api --header 'User-Agent: openqa-investigate (https://github.com/os-autoinst/scripts)' --host "$host_url" --retries="$retries")
jq_output_limit="${jq_output_limit:-15}"
curl_args=(-L --user-agent "openqa-investigate")
echoerr() { echo "$@" >&2; }
Expand Down

0 comments on commit a21390e

Please sign in to comment.