The buildbot-nix master and worker both ran on boron. Repointed both
to iceman in locations.nix so autoServe enables them there and
disables them on boron, and updated the workerCores map (boron 16 ->
iceman 32) which the master throws on if a worker is missing.
Ported boron's aarch64 remote-build delegation (slider over ssh-ng)
to iceman so the worker can still build aarch64-linux jobs, and
removed it from boron. Authorised iceman on slider's
nix-remote-builder so slider accepts its host key. Caddy stays on
boron: the buildbot.hillion.co.uk vhost in global.nix already proxies
via ${locations.services.buildbot-nix-master}, so it follows the
repoint to iceman's nebula IP with no web change.
Rekeyed the buildbot-nix age secrets to iceman (agenix-rekey).
On iceman's impermanence the persisted state dirs (/var/lib/buildbot
and /var/lib/buildbot-worker) are created root-owned, so the services,
running as buildbot and buildbot-worker, failed pre-start with
permission denied while creating their subdirectories. Set
StateDirectory on both units so systemd creates and chowns the dir
during each service's own startup; systemd adds the path to
RequiresMountsFor, ordering it after the impermanence bind-mount so the
chown lands on the mounted directory rather than racing it. This drops
the master's tmpfiles chown, which ran before the mount at boot and
left the directory root-owned.
Test plan:
Built iceman and boron toplevels with nix build '.#nixosConfigurations."<host>".config.system.build.toplevel'
Confirmed buildbot master+worker enable on iceman and disable on boron via nix eval
Confirmed buildbot-master/worker units carry StateDirectory via nix eval
Confirmed boron Caddy vhost now proxies to iceman.cx.neb.jakehillion.me:8010
CI
The buildbot-nix master and worker both ran on boron. Repointed both
to iceman in locations.nix so autoServe enables them there and
disables them on boron, and updated the workerCores map (boron 16 ->
iceman 32) which the master throws on if a worker is missing.
Ported boron's aarch64 remote-build delegation (slider over ssh-ng)
to iceman so the worker can still build aarch64-linux jobs, and
removed it from boron. Authorised iceman on slider's
nix-remote-builder so slider accepts its host key. Caddy stays on
boron: the buildbot.hillion.co.uk vhost in global.nix already proxies
via ${locations.services.buildbot-nix-master}, so it follows the
repoint to iceman's nebula IP with no web change.
Rekeyed the buildbot-nix age secrets to iceman (agenix-rekey).
On iceman's impermanence the persisted state dirs (/var/lib/buildbot
and /var/lib/buildbot-worker) are created root-owned, so the services,
running as buildbot and buildbot-worker, failed pre-start with
permission denied while creating their subdirectories. Set
StateDirectory on both units so systemd creates and chowns the dir
during each service's own startup; systemd adds the path to
RequiresMountsFor, ordering it after the impermanence bind-mount so the
chown lands on the mounted directory rather than racing it. This drops
the master's tmpfiles chown, which ran before the mount at boot and
left the directory root-owned.
Test plan:
- Built iceman and boron toplevels with `nix build '.#nixosConfigurations."<host>".config.system.build.toplevel'`
- Confirmed buildbot master+worker enable on iceman and disable on boron via nix eval
- Confirmed buildbot-master/worker units carry StateDirectory via nix eval
- Confirmed boron Caddy vhost now proxies to iceman.cx.neb.jakehillion.me:8010
- CI
The buildbot-nix master and worker both ran on boron. Repointed both
to iceman in locations.nix so autoServe enables them there and
disables them on boron, and updated the workerCores map (boron 16 ->
iceman 32) which the master throws on if a worker is missing.
Ported boron's aarch64 remote-build delegation (slider over ssh-ng)
to iceman so the worker can still build aarch64-linux jobs, and
removed it from boron. Authorised iceman on slider's
nix-remote-builder so slider accepts its host key. Caddy stays on
boron: the buildbot.hillion.co.uk vhost in global.nix already proxies
via ${locations.services.buildbot-nix-master}, so it follows the
repoint to iceman's nebula IP with no web change.
Rekeyed the buildbot-nix age secrets to iceman (agenix-rekey).
On iceman's impermanence the persisted state dirs (/var/lib/buildbot
and /var/lib/buildbot-worker) are created root-owned, so the services,
running as buildbot and buildbot-worker, failed pre-start with
permission denied while creating their subdirectories. Set
StateDirectory on both units so systemd creates and chowns the dir
during each service's own startup; systemd adds the path to
RequiresMountsFor, ordering it after the impermanence bind-mount so the
chown lands on the mounted directory rather than racing it. This drops
the master's tmpfiles chown, which ran before the mount at boot and
left the directory root-owned.
Test plan:
- Built iceman and boron toplevels with `nix build '.#nixosConfigurations."<host>".config.system.build.toplevel'`
- Confirmed buildbot master+worker enable on iceman and disable on boron via nix eval
- Confirmed buildbot-master/worker units carry StateDirectory via nix eval
- Confirmed boron Caddy vhost now proxies to iceman.cx.neb.jakehillion.me:8010
- CI
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The buildbot-nix master and worker both ran on boron. Repointed both
to iceman in locations.nix so autoServe enables them there and
disables them on boron, and updated the workerCores map (boron 16 ->
iceman 32) which the master throws on if a worker is missing.
Ported boron's aarch64 remote-build delegation (slider over ssh-ng)
to iceman so the worker can still build aarch64-linux jobs, and
removed it from boron. Authorised iceman on slider's
nix-remote-builder so slider accepts its host key. Caddy stays on
boron: the buildbot.hillion.co.uk vhost in global.nix already proxies
via ${locations.services.buildbot-nix-master}, so it follows the
repoint to iceman's nebula IP with no web change.
Rekeyed the buildbot-nix age secrets to iceman (agenix-rekey).
On iceman's impermanence the persisted state dirs (/var/lib/buildbot
and /var/lib/buildbot-worker) are created root-owned, so the services,
running as buildbot and buildbot-worker, failed pre-start with
permission denied while creating their subdirectories. Set
StateDirectory on both units so systemd creates and chowns the dir
during each service's own startup; systemd adds the path to
RequiresMountsFor, ordering it after the impermanence bind-mount so the
chown lands on the mounted directory rather than racing it. This drops
the master's tmpfiles chown, which ran before the mount at boot and
left the directory root-owned.
Test plan:
nix build '.#nixosConfigurations."<host>".config.system.build.toplevel'c5d9bd17d2to361cfe5655Has to wait for
ba1b0a1bacto roll widely else hosts won't trust the signed ones.361cfe5655tob1ff3b00ad@@ -28,6 +28,7 @@enable = true;authorizedHosts = ["boron.cx.neb.jakehillion.me"Should be replacing boron, not additive
b1ff3b00adto576ad5a601576ad5a601to8cc2578547The buildbot-nix master and worker both ran on boron. Repointed both to iceman in locations.nix so autoServe enables them there and disables them on boron, and updated the workerCores map (boron 16 -> iceman 32) which the master throws on if a worker is missing. Ported boron's aarch64 remote-build delegation (slider over ssh-ng) to iceman so the worker can still build aarch64-linux jobs, and removed it from boron. Authorised iceman on slider's nix-remote-builder so slider accepts its host key. Caddy stays on boron: the buildbot.hillion.co.uk vhost in global.nix already proxies via ${locations.services.buildbot-nix-master}, so it follows the repoint to iceman's nebula IP with no web change. Rekeyed the buildbot-nix age secrets to iceman (agenix-rekey). On iceman's impermanence the persisted state dirs (/var/lib/buildbot and /var/lib/buildbot-worker) are created root-owned, so the services, running as buildbot and buildbot-worker, failed pre-start with permission denied while creating their subdirectories. Set StateDirectory on both units so systemd creates and chowns the dir during each service's own startup; systemd adds the path to RequiresMountsFor, ordering it after the impermanence bind-mount so the chown lands on the mounted directory rather than racing it. This drops the master's tmpfiles chown, which ran before the mount at boot and left the directory root-owned. Test plan: - Built iceman and boron toplevels with `nix build '.#nixosConfigurations."<host>".config.system.build.toplevel'` - Confirmed buildbot master+worker enable on iceman and disable on boron via nix eval - Confirmed buildbot-master/worker units carry StateDirectory via nix eval - Confirmed boron Caddy vhost now proxies to iceman.cx.neb.jakehillion.me:8010 - CI8cc2578547toe8aa8f2730