From 77c62c060562e14b3efa4c410574e9737e47251c Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Wed, 2 Oct 2024 20:07:47 +0200 Subject: [PATCH] add forgejo worker --- forgejo-worker.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 forgejo-worker.tf diff --git a/forgejo-worker.tf b/forgejo-worker.tf new file mode 100644 index 0000000..62a4ecb --- /dev/null +++ b/forgejo-worker.tf @@ -0,0 +1,12 @@ +module "forgejo_runner" { + source = "github.com/matthewbaggett/terraform_modules//docker-gitea-actions-runner" + providers = { docker = docker.nas } + parallelism = 12 + gitea_runner_name = "california" + gitea_runner_labels = [] + gitea_instance_url = "https://code.techinc.nl" + gitea_token = "7U8XD8IXZokT18smTZhb7P1xeKRVU9MRiPjWEOwN" + stack_name = "code" + service_name = "forgejo-runner" + placement_constraints = ["node.hostname == california"] +} \ No newline at end of file