feat: add gitea runner role

- ensure docker is configured
- create runner user/group
- deploy config.yaml from hiera hash
- install runner from url
- register the runner with the gitea instance
- manage the act_runner service
This commit is contained in:
2024-09-07 16:31:09 +10:00
parent 42d8047043
commit 0210d849c7
5 changed files with 148 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# a role to deploy the gitea runner
class roles::infra::git::runner {
if $facts['firstrun'] {
include profiles::defaults
include profiles::firstrun::init
}else{
include profiles::defaults
include profiles::base
include profiles::base::datavol
}
}