[v10.4.x] CI/CD: Update retry logic for package validation (#92998)

* CI/CD: Update retry logic for package validation (#92943)

* baldm0mma/retry_command/ update retry logic for package validation

* baldm0mma/retry_command/ update to 15 minutes

* baldm0mma/retry_command/ update to 30 minute retry

* baldm0mma/retry_command/ make drone

(cherry picked from commit d3ceaf41c2)

* rem nx files

* rem more nx files
This commit is contained in:
Jev Forsberg
2024-09-05 11:53:05 -06:00
committed by GitHub
parent 1c902eeed2
commit 79a9941056
2 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -1146,7 +1146,8 @@ def publish_linux_packages_step(package_manager = "deb"):
},
}
def retry_command(command, attempts = 5, delay = 60):
# This retry will currently continue for 30 minutes until fail, unless successful.
def retry_command(command, attempts = 60, delay = 30):
return [
"for i in $(seq 1 %d); do" % attempts,
" if %s; then" % command,