fix(ci): use FHS-compatible nixery container for act runner
Core Architecture & Invariant CI / validate (push) Failing after 2s
Core Architecture & Invariant CI / validate (push) Failing after 2s
This commit is contained in:
1 parent
90eed848e8
commit
693733a324
2 files changed
+3
-2
No files matched your search
@@ -10,7 +10,7 @@ jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: nixos/nix:latest
|
||||
image: nixery.dev/shell/coreutils/git/nix:latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -20,6 +20,7 @@ jobs:
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
mkdir -p ~/.config/nix
|
||||
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
||||
echo "build-users-group =" >> ~/.config/nix/nix.conf
|
||||
|
||||
- name: Run Architecture & Security Invariant Checks
|
||||
run: |
|
||||
|
||||
+1
-1
@@ -165,7 +165,7 @@ The continuous deployment engine operates strictly **downstream** of CI verifica
|
||||
```
|
||||
|
||||
1. **Pre-Merge CI Invariant (`.gitea/workflows/ci.yaml`)**:
|
||||
- Executes inside containerized `act_runner` environments using **pre-baked toolchain images** (`container: nixos/nix:latest`).
|
||||
- Executes inside containerized `act_runner` environments using **pre-baked toolchain images** (`container: nixery.dev/shell/coreutils/git/nix:latest`).
|
||||
- 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