From fa293ffc80765375faf148e67aff73a03e1f4bc8 Mon Sep 17 00:00:00 2001 From: panxiao81 Date: Mon, 14 Sep 2026 14:53:46 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=E9=87=8D=E8=AF=95=20kind=20=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/kind-on-kata-smoke.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/kind-on-kata-smoke.yml b/.gitea/workflows/kind-on-kata-smoke.yml index 816bb7d..19ff9ef 100644 --- a/.gitea/workflows/kind-on-kata-smoke.yml +++ b/.gitea/workflows/kind-on-kata-smoke.yml @@ -21,8 +21,10 @@ jobs: run: | set -eu apk add --no-cache ca-certificates curl docker-cli - curl -fsSLo /tmp/kind "https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64" - curl -fsSLo /tmp/kind.sha256sum "https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64.sha256sum" + curl --retry 5 --retry-all-errors --connect-timeout 15 -fsSLo /tmp/kind \ + "https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64" + curl --retry 5 --retry-all-errors --connect-timeout 15 -fsSLo /tmp/kind.sha256sum \ + "https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64.sha256sum" expected="$(awk '{print $1}' /tmp/kind.sha256sum)" printf '%s %s\n' "$expected" /tmp/kind | sha256sum -c - install -m 0755 /tmp/kind /usr/local/bin/kind