Skip to content

Commit

Permalink
Merge branch 'customizations/22.8.21' into backports/22.8/60768_updat…
Browse files Browse the repository at this point in the history
…e_tzdata_to_2024a
  • Loading branch information
Enmk committed Jan 23, 2025
2 parents 3b40f10 + 160efa3 commit 3e5cd5e
Show file tree
Hide file tree
Showing 15 changed files with 787 additions and 709 deletions.
22 changes: 22 additions & 0 deletions .github/retry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
# Execute command until exitcode is 0 or
# maximum number of retries is reached
# Example:
# ./retry <retries> <delay> <command>
retries=$1
delay=$2
command="${@:3}"
exitcode=0
try=0
until [ "$try" -ge $retries ]
do
echo "$command"
eval "$command"
exitcode=$?
if [ $exitcode -eq 0 ]; then
break
fi
try=$((try+1))
sleep $2
done
exit $exitcode
Loading

0 comments on commit 3e5cd5e

Please sign in to comment.