d81aa97e84
runner_pause.py pauses on any seat0 session (locked too), games, GPU use or a pause file, and is the only thing that starts the runner; a job under way is throttled, then the runner stops. The desktop host in parity_hosts.json refuses work while paused and its workers stop on a pause. The nightly audit stays on the Mac mini. Docs and a unit test of the watcher. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1.6 KiB
JSON
41 lines
1.6 KiB
JSON
{
|
|
"default": [],
|
|
"hosts": {
|
|
"macmini": {
|
|
"ssh": "macmini",
|
|
"root": "code/horizon-parity",
|
|
"shell": "zsh -lc",
|
|
"setup": "source ~/.cargo/env && export JAVA_HOME=$(/usr/libexec/java_home -v 25) && export PATH=$JAVA_HOME/bin:$PATH",
|
|
"python": "/opt/homebrew/bin/python3.13",
|
|
"rsync": "/opt/homebrew/bin/rsync",
|
|
"jobs": 14,
|
|
"exclude": {}
|
|
},
|
|
"desktop": {
|
|
"ssh": "desktop",
|
|
"root": ".actions-runners/horizon/parity-host",
|
|
"shell": "systemd-run --user --scope --quiet --slice=horizon-ci.slice --unit=horizon-parity-worker-$$ bash -c",
|
|
"setup": "test ! -e ~/.actions-runners/horizon/paused && set -a && . ~/.actions-runners/horizon/.env && set +a && export PATH=$(cat ~/.actions-runners/horizon/.path) && eval \"$(vscreen env)\"",
|
|
"jobs": 8,
|
|
"nice": 19,
|
|
"note": "ludodesktop, the maintainer's own machine: only while nobody is at the screen (tools/ci/runner_pause.py: a paused desktop refuses workers and stops the running ones, whose harnesses then run here); 8 jobs at most, in the CI runner's environment and slice"
|
|
},
|
|
"thinkpad": {
|
|
"ssh": "thinkpad",
|
|
"root": "code/horizon-parity",
|
|
"shell": "sh -c",
|
|
"jobs": 2,
|
|
"nice": 19,
|
|
"environment": {
|
|
"PARITY_BUILD_JOBS": "2"
|
|
},
|
|
"note": "hosts the Claude account pool: two harnesses at most, at the lowest priority",
|
|
"setup": "export PKG_CONFIG_PATH=$HOME/code/horizon-parity/alsa-dev/lib/pkgconfig"
|
|
}
|
|
},
|
|
"local_only": {
|
|
"save_roundtrip": "runs the game on a virtual screen (vscreen) with a null ALSA device, or offscreen in the logged-in macOS session"
|
|
},
|
|
"linux_only": {}
|
|
}
|