fix(ci): remove container image from ci.yaml for :host act_runner (#46)
Core Architecture & Invariant CI / validate (push) Successful in 4s
Core Architecture & Invariant CI / validate (push) Successful in 4s
Co-authored-by: kiskaadee <fcortesbio@gmail.com>
This commit was merged in pull request #46.
This commit is contained in:
1 parent
6ba45961ae
commit
ef42bfc801
2 files changed
+2
-4
No files matched your search
@@ -9,8 +9,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: nixery.dev/shell/coreutils/git/nix/nodejs:latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4
|
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]
|
[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`)**:
|
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.
|
- Runs hermetic validation (`nix flake check`, `pytest`, `ruff`) with Git safe directory enforcement.
|
||||||
- Prevents broken code, misconfigured flakes, or regression bugs from entering `main`.
|
- Prevents broken code, misconfigured flakes, or regression bugs from entering `main`.
|
||||||
2. **Post-Merge CD Execution (`homelab-gitops.service`)**:
|
2. **Post-Merge CD Execution (`homelab-gitops.service`)**:
|
||||||
|
|||||||
Reference in new issue
Block a user