fix(ci): repair failing Gitea Actions (validate-flux + build-docs) #243

Merged
0xWheatyz merged 9 commits from fix/gitea-actions-failures into main 2026-06-20 22:12:00 +00:00
Showing only changes of commit 58e7a8e319 - Show all commits
+12 -4
View File
@@ -13,11 +13,19 @@ jobs:
- uses: actions/checkout@v4
- name: Install kustomize
# The Gitea act runner image runs as root and has no `sudo`, so install
# straight into a writable bin dir instead of `sudo mv … /usr/local/bin`.
# The act runner runs as root (no `sudo`). Download a pinned release
# tarball directly with retries instead of piping the upstream installer
# script through bash — the installer makes extra GitHub API calls that
# are rate-limited/unreliable on this runner, and `curl -s` hid the
# error (a silent exit 6 = could not resolve host).
env:
KUSTOMIZE_VERSION: "5.4.3"
run: |
curl -sL "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
install -m 0755 kustomize /usr/local/bin/kustomize
set -euxo pipefail
url="https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz"
curl -fSL --retry 5 --retry-delay 3 --retry-all-errors -o /tmp/kustomize.tar.gz "$url"
tar -xzf /tmp/kustomize.tar.gz -C /usr/local/bin kustomize
kustomize version
- name: kustomize build flux/
run: kustomize build flux/ > /dev/null