Add timeout and retries to tool installation in CI
Some checks failed
CI TEST (Vault secrets) / build (push) Has been cancelled
Some checks failed
CI TEST (Vault secrets) / build (push) Has been cancelled
This commit is contained in:
@@ -14,8 +14,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://gitea.nikitapozd.dev/actions/checkout@v6
|
uses: https://gitea.nikitapozd.dev/actions/checkout@v6
|
||||||
|
|
||||||
- name: Install tools (curl, jq)
|
- name: Install tools (curl, jq) with timeout
|
||||||
run: apk add --no-cache curl jq
|
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
|
- name: Get Keycloak access token from Gitea secrets
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user