fix(ci): use FHS-compatible nixery container for act runner
Core Architecture & Invariant CI / validate (push) Failing after 2s

This commit is contained in:
kiskaadee committed 2026-09-21 02:12:46 -05:00
1 parent 90eed848e8
commit 693733a324
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -10,7 +10,7 @@ jobs:
validate: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: nixos/nix:latest image: nixery.dev/shell/coreutils/git/nix:latest
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -20,6 +20,7 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE" git config --global --add safe.directory "$GITHUB_WORKSPACE"
mkdir -p ~/.config/nix mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
echo "build-users-group =" >> ~/.config/nix/nix.conf
- name: Run Architecture & Security Invariant Checks - name: Run Architecture & Security Invariant Checks
run: | run: |
+1 -1
View File
@@ -165,7 +165,7 @@ The continuous deployment engine operates strictly **downstream** of CI verifica
``` ```
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: 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. - 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`)**: