aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2025-04-08 18:21:27 +0100
committerChristopher Baines <mail@cbaines.net>2025-04-08 18:21:27 +0100
commit524257e644ad4d377e362c3f35b0e391e65793b0 (patch)
tree9cb57ac976112742ffa3721891c0e16a36901da0
parent3f4c7dd00313c733e4c54982e8e7e044f588e960 (diff)
downloadqa-frontpage-trunk.tar
qa-frontpage-trunk.tar.gz
Retry git-get-remote-branchestrunk
-rw-r--r--guix-qa-frontpage/branch.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix-qa-frontpage/branch.scm b/guix-qa-frontpage/branch.scm
index a9a37b9..9512a39 100644
--- a/guix-qa-frontpage/branch.scm
+++ b/guix-qa-frontpage/branch.scm
@@ -113,7 +113,11 @@
(assoc-ref branch "name"))
(string=? (assoc-ref branch "commit")
"")))
- (get-git-remote-branches "origin")))))
+ (retry-on-error
+ (lambda ()
+ (get-git-remote-branches "origin"))
+ #:times 6
+ #:delay-seconds 20)))))
(let* ((initial-ordered-branches
(stable-sort
branches