Commit 2e17aa2
committed
[CELL-297] CI thin builds no longer OOM-killed on 8 GB ARM runners — nix max-jobs capped at 2 via DEVCELL_NIX_MAX_JOBS
- fix(runner): make nix `max-jobs` configurable via `DEVCELL_NIX_MAX_JOBS` env var (default `auto`) — CI can cap concurrent nix builds to stay within runner memory limits without affecting local dev
- fix(runner): forward `DEVCELL_NIX_MAX_JOBS` into the thin-build docker container via `-e` — env var now reaches the nix.conf inside the builder
- fix(ci): set `DEVCELL_NIX_MAX_JOBS=2` on both thin build steps — ultimate stack no longer exhausts 8 GB Blacksmith runner memory during home-manager switch
- test(runner): update `TestThinBuildArgv_NixConfDaemonMode` to match new `DEVCELL_NIX_MAX_JOBS:-auto` pattern — no behavior change1 parent 0847740 commit 2e17aa2
3 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| 192 | + | |
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments