runner: connect with UUID and token instead of registering
All checks were successful
nixos / nixos (push) Successful in 1m8s
All checks were successful
nixos / nixos (push) Successful in 1m8s
The runner's token was regenerated in Forgejo (runner asxpio-services,
same UUID), which also retires the registration-token route the NixOS
module used. Both runners now work the same way: settings from Nix, the
connection (URL, UUID, token from sops) merged in at start, no
registration step. A new token is a sops change and a deploy.
Corrects 0a54caa: `forgejo actions generate-runner-token` returned the
existing registration token, so that commit rotated nothing.
Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
0a54caa7d4
commit
b7414c2ad1
1 changed files with 163 additions and 138 deletions
|
|
@ -44,6 +44,8 @@
|
|||
|
||||
# This runner would take real jobs of another project
|
||||
systemd.services.forgejo-runner-interop.wantedBy = lib.mkForce [ ];
|
||||
# Production's runner UUID: a rehearsal needs a runner of its own
|
||||
systemd.services.forgejo-runner-asxpio.wantedBy = lib.mkForce [ ];
|
||||
|
||||
asxpio.wireguard.peers = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue