Repository navigation
[NO-JIRA] Add devbox-em-ci-3, a control-only CI runner - #1065
Merged
Merged
Conversation
eternal-machinery's ci.yml runs its tiny control jobs (Detect changes, Docs guard, CI Passed) on [self-hosted, em-ci-control]. In overflow the failover reconciler also gives devbox-em-ci-1/2 em-ci-light, so they spend most of their time on 12-minute Linters runs and control jobs queue 15-25 minutes. devbox-em-ci-3 registers with em-ci-control only, 2 CPUs and 2G. - modules/em-ci-runners.nix: optional per-runner extraLabels, cpus and memoryMax, defaulting to today's values (gamebox and em-ci-1/2 evaluate identically). - hosts/devbox/em-ci.nix: em-ci-3 on 10.233.71.9/.10. - em-ci-failover: EM_CI_CONTROL_ONLY_RUNNERS (derived from the runners' labels). They get the control label in every mode, never em-ci or em-ci-light (stripped if they appear), and control is never removed. 21 new assertions across normal, overflow and failover. - em-ci-monitor: watches em-ci-3's runner and container (derived from the runner set); 7 new assertions, including that an idle control-only runner does not count as em-ci capacity. - em-ci-failover TimeoutStartSec 16 -> 20 min for the extra writes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
em-ci-controllabel only (2 CPUs, 2G). eternal-machinery'sci.ymlruns its control jobs (Detect changes, Docs guard, CI Passed) on that label. In overflow the failover reconciler also gives devbox-em-ci-1/2em-ci-light, so they spend most of their time on 12-minute Linters runs and control jobs queue 15-25 minutes.modules/em-ci-runners.nix: optional per-runnerextraLabels,cpus,memoryMax, defaulting to today's values. gamebox and devbox em-ci-1/2 evaluate identically (compared unit and runner config before/after).em-ci-failover: newEM_CI_CONTROL_ONLY_RUNNERS(derived from the runners whose labels are exactlyem-ci-control). Those runners get the control label in every mode, neverem-ciorem-ci-light(stripped if one appears), and control is never removed.TimeoutStartSec16 -> 20 min for the extra writes. 21 new assertions (65 -> 86) over normal, overflow and failover.em-ci-monitor: checks em-ci-3's runner and container; 7 new assertions (10 -> 17), including that an idle control-only runner is not counted as em-ci capacity.Switch impact (not switched; devbox is NOT deployed by this PR)
Built the devbox toplevel without switching and diffed units against
/run/current-system:container@em-ci-3(started viamachines.target),ve-em-ci-3NAT rules (thefirewallunit hasX-ReloadIfChanged, so a reload, not a restart).em-ci-failover,em-ci-monitor,em-ci-monitor-dry-run,em-ci-disk-watchdog(now also stops container@em-ci-3).container@em-ci-1,container@em-ci-2, the egress fence, goose-serve, honkd, cfp./var/lib/em-ci/{work,cache}by tmpfiles, and the first registration attempt fails with no network and is retried byRestart=on-failureafter 60 s.References
.github/workflows/ci.yml(runs-on: [self-hosted, em-ci-control])