fix(release): add retry logic to curl API calls

Add --retry 3 --retry-delay 2 --retry-connrefused to all Gitea API
curl calls to handle transient connection failures. This addresses
intermittent exit code 7 (connection refused) errors when the K8s
internal service briefly drops connections.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-14 15:08:17 +01:00
parent 7802e99a9c
commit a9458d03dd
2 changed files with 21 additions and 20 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
"Bash(but rub --help:*)",
"WebSearch",
"WebFetch(domain:docs.gitea.com)",
"WebFetch(domain:gitea.com)"
"WebFetch(domain:gitea.com)",
"Bash(but status:*)"
]
}
}