Control the actions runners' configuration via NixOps4 #8
No reviewers
Labels
No labels
blocked
bug
contributor experience
devops
documentation
estimation high: >3d
estimation low: <2h
estimation mid: <8h
fediversity panel
project-management
question
security
sysadmin
testing
user experience
user story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Fediversity/Fediversity#8
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "actions-runners-via-nixops"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR moves the configuration of our two Forgejo actions runners, vm02179 and vm02186, to the repository, and ties them together with NixOps4. Provided one has root access on these two machines, updating their configurations now just consists in running
nixops apply actions-runners
.Future work consists in cleaning up their configurations, merging them (most of it is shared anyways) and consolidating it with the configurations in
deployment
(which should probably move away from there and intoinfra
). However, all of this deserved to be done in another PR, in my opinion.It is to be noted that we had already prior to this PR committed the token to register an actions runner to Forgejo in the repository. Technically, with this token, anyone could register an actions runner, disrupt the service, and get access to our code and repository secrets. For now, the code is public and we have no repository secrets, but the clean way would be to regenerate a new token, not have that token committed, but instead delivered via a secrets management scheme.
@koen @kevin> vm02179 is excruciatingly slow, as in even SSH-ing into it takes minutes to terminate, and sometimes it even fails. I do not have the same problem with vm02186. This was already the case prior to this PR.
fe3890d1be
toaa1b0056ff
aa1b0056ff
toae90b3e362
infra/
subdirectory