From b4ade8bd44e9a3811bb8325d5d0f21b1688db7a3 Mon Sep 17 00:00:00 2001 From: Nikita Pozdniakov Date: Tue, 27 Jan 2026 15:07:46 +0300 Subject: [PATCH] Add timeout and retries to tool installation in CI --- .gitea/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 97dd458..83e0ca8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,8 +14,14 @@ jobs: - name: Checkout uses: https://gitea.nikitapozd.dev/actions/checkout@v6 - - name: Install tools (curl, jq) - run: apk add --no-cache curl jq + - name: Install tools (curl, jq) with timeout + run: | + set -eux + export APK_TIMEOUT=10 + export APK_RETRIES=1 + export APK_PROGRESS=plain + apk update -v + apk add --no-cache curl jq - name: Get Keycloak access token from Gitea secrets env: