fix(ci): remove container image from ci.yaml for :host act_runner
Core Architecture & Invariant CI / validate (pull_request) Successful in 1m20s
Core Architecture & Invariant CI / validate (pull_request) Successful in 1m20s
- .gitea/workflows/ci.yaml: remove jobs.validate.container block so the workflow runs directly on :host act_runner using the pre-baked toolchain without Docker socket access - docs/gitops.md: update section 6 to document :host act_runner execution with pre-baked host tools instead of container: nixery.dev/... Refs #45
This commit is contained in:
1 parent
6ba45961ae
commit
835bb18bf4
2 files changed
+2
-4
No files matched your search
@@ -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
|
||||
|
||||
+2
-2
@@ -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`)**:
|
||||
|
||||
Reference in new issue
Block a user