nix-infra/config/hosts/woodpecker/woodpecker-server
June f5432bd682
Use an agent token for Woodpecker agent to stop it from re-registering
With the shared system token, every time the Woodpecker host would
restart, a new Woodpecker agent registration would be created, because
the agent receives a unique ID on first connection using the system
token, which it couldn't store however, because it doesn't have a
writable config file in NixOS.
Use an agent token now, which doesn't require the agent to store a
unique ID in a wrtiable config, therefore not making it re-register.

Also see:
https://woodpecker-ci.org/docs/administration/agent-config#agent-registration
2024-06-22 16:26:58 +02:00
..
default.nix Add woodpecker host running a woodpecker-server and -agent for CI 2024-06-22 04:20:38 +02:00
nginx.nix Add woodpecker host running a woodpecker-server and -agent for CI 2024-06-22 04:20:38 +02:00
postgresql.nix Add woodpecker host running a woodpecker-server and -agent for CI 2024-06-22 04:20:38 +02:00
woodpecker-server.nix Use an agent token for Woodpecker agent to stop it from re-registering 2024-06-22 16:26:58 +02:00