From 3de2a078b9af7d213dd678e3dd69a5b9a99c22a9 Mon Sep 17 00:00:00 2001 From: panxiao81 Date: Wed, 9 Sep 2026 17:56:18 +0000 Subject: [PATCH] fix(ci): bootstrap lint toolchain --- .gitea/workflows/lint.yml | 3 +++ CHANGELOG.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index bb23761..ce3566d 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -29,6 +29,7 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v6 - name: Install yamllint # The WAN drops at random (see CLAUDE.md); retry rather than fail a run. @@ -52,6 +53,7 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v6 - name: Install ansible-lint and collections # pywinrm is not optional — without it every ansible.windows.* task dies @@ -89,6 +91,7 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v4 + - uses: hashicorp/setup-terraform@v3 - name: fmt and validate # -backend=false so validate never touches real state or needs credentials. diff --git a/CHANGELOG.md b/CHANGELOG.md index e8f645b..5cda881 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ What changed in this homelab, when, and why. Newest first. | secrets | Recorded that ESO 2.8.0, five ExternalSecrets and the scoped OpenBao Kubernetes-auth path already exist; the next gate is live recovery testing and migration of any remaining manual Secrets | | Terraform | Recorded Gitea 1.27 State Registry as the preferred candidate for local roots after version and recovery testing; the OCI recovery root remains in OCI Object Storage to avoid a home-control-plane dependency loop | | cleanup | Removed the retired NapCat tree, the Contour and Kanidm archive trees, and seven generated Terraform plan files before establishing the clean Git baseline; plans may embed complete state and remain globally ignored | -| CI | Added a review-first Gitea Actions runner bootstrap: official actions chart 0.1.1, pinned runner 2.3.0, one persistent instance-scoped Kubernetes runner with capacity four, plus an ESO reference to its registration token in OpenBao. The first deployment proved that rootlesskit is blocked by the node's AppArmor unprivileged-userns policy; because the chart requires privileged DinD in either mode, the reviewed fix uses regular DinD instead of weakening the host-wide policy | +| CI | Added a review-first Gitea Actions runner bootstrap: official actions chart 0.1.1, pinned runner 2.3.0, one persistent instance-scoped Kubernetes runner with capacity four, plus an ESO reference to its registration token in OpenBao. The first deployment proved that rootlesskit is blocked by the node's AppArmor unprivileged-userns policy; because the chart requires privileged DinD in either mode, the reviewed fix uses regular DinD instead of weakening the host-wide policy. The runner image intentionally carries neither `uv` nor Terraform, so the lint workflow now bootstraps both with versioned setup actions instead of relying on developer-machine state | | identity | Declared the Samba AD `gitea-admins` group with `panxiao81` as its initial member. Gitea already maps this OIDC group to site administrators; the local `gitea_admin` account remains as break-glass access | `Carried forward`: re-verify OpenBao/ESO recovery and remaining Secret inventory;