Skip to content

Commit af22d10

Browse files
kmeinclaude
andcommitted
ci: enable auto-allocate-uids for nspawn container tests
The 4 keycloak container tests require systemd-nspawn's UID-range allocation, which Nix gates behind the auto-allocate-uids experimental feature + setting. Without it, the runner fails with `feature 'uid-range' requires the setting 'auto-allocate-uids' to be enabled`. Wire both into the installer action's extra-conf so the sandbox is set up correctly on GitHub runners. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5b9daf4 commit af22d10

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
- uses: actions/checkout@v4
1212

1313
- uses: DeterminateSystems/nix-installer-action@main
14+
with:
15+
# nspawn container tests need auto-allocate-uids + uid-range.
16+
extra-conf: |
17+
extra-experimental-features = auto-allocate-uids
18+
auto-allocate-uids = true
1419
1520
- uses: DeterminateSystems/magic-nix-cache-action@main
1621

0 commit comments

Comments
 (0)