From 9d61a3d1a45d309b39dfff65d13bb60ea81fee54 Mon Sep 17 00:00:00 2001 From: Nikita Pozdniakov Date: Tue, 27 Jan 2026 15:20:32 +0300 Subject: [PATCH] IPv4 test --- .gitea/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 31ef8e4..14d77cd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,6 +14,27 @@ jobs: - name: Checkout uses: https://gitea.nikitapozd.dev/actions/checkout@v6 + - name: Install tools (curl, jq) with hard timeouts + shell: bash + run: | + set -euxo pipefail + + # Диагностика куда резолвится: + getent ahosts deb.debian.org || true + + # apt: только IPv4 + короткие таймауты + минимум ретраев + timeout 60s apt-get update \ + -o Acquire::ForceIPv4=true \ + -o Acquire::Retries=1 \ + -o Acquire::http::Timeout=10 \ + -o Acquire::https::Timeout=10 + + timeout 60s apt-get install -y curl jq \ + -o Acquire::ForceIPv4=true \ + -o Acquire::Retries=1 \ + -o Acquire::http::Timeout=10 \ + -o Acquire::https::Timeout=10 + - name: Install tools (curl, jq) with timeout run: | set -eux