From ef42bfc801006967b8b03a1db819b39e4bbcbb8c Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sat, 21 Nov 2026 18:13:01 +0000 Subject: [PATCH] fix(ci): remove container image from ci.yaml for :host act_runner (#46) Co-authored-by: kiskaadee --- .gitea/workflows/ci.yaml | 2 -- docs/gitops.md | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 6f4c2af..b38bd1d 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,8 +9,6 @@ on: jobs: validate: runs-on: ubuntu-latest - container: - image: nixery.dev/shell/coreutils/git/nix/nodejs:latest steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/docs/gitops.md b/docs/gitops.md index 4bf1c60..6a314ff 100644 --- a/docs/gitops.md +++ b/docs/gitops.md @@ -175,11 +175,11 @@ The continuous deployment engine operates strictly **downstream** of CI verifica ``` [Developer / PR] ──► [Gitea Actions CI] ──► [Merge to main] ──► [Gitea Webhook] ──► [homelab-gitops] ──► [Deploy] - (Ephemeral Container) (Host Daemon) + (:host act_runner) (Host Daemon) ``` 1. **Pre-Merge CI Invariant (`.gitea/workflows/ci.yaml`)**: - - Executes inside containerized `act_runner` environments using **pre-baked toolchain images** (`container: nixery.dev/shell/coreutils/git/nix/nodejs:latest`). + - Executes directly on `:host` `act_runner` instances (`ubuntu-latest:host` / `nix:host`) with a **pre-baked host toolchain** (`nix`, `node`, `git`, `coreutils`), without spawning nested `container:` jobs. - Runs hermetic validation (`nix flake check`, `pytest`, `ruff`) with Git safe directory enforcement. - Prevents broken code, misconfigured flakes, or regression bugs from entering `main`. 2. **Post-Merge CD Execution (`homelab-gitops.service`)**: