From 22d2c42b7446269be4e84958831a5b48e08826d8 Mon Sep 17 00:00:00 2001 From: Matthew Baggett <matthew@baggett.me> Date: Fri, 14 Feb 2025 20:53:56 +0100 Subject: [PATCH] GHAR rework --- products/github/actions-runner/gha-runner.tf | 6 +++++- products/github/actions-runner/inputs.tf | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/products/github/actions-runner/gha-runner.tf b/products/github/actions-runner/gha-runner.tf index cec7c9f..bd86cc9 100644 --- a/products/github/actions-runner/gha-runner.tf +++ b/products/github/actions-runner/gha-runner.tf @@ -15,5 +15,9 @@ module "github_actions_runner" { EPHEMERAL = true DISABLE_AUTO_UPDATE = "disable_updates" } - mounts = { "/var/run/docker.sock" = "/var/run/docker.sock" } + mounts = { + "/goliath/github/runner" = "/github" + "/var/run/docker.sock" = "/var/run/docker.sock" + } + restart_delay = "30s" } \ No newline at end of file diff --git a/products/github/actions-runner/inputs.tf b/products/github/actions-runner/inputs.tf index 8c535a5..d894ab1 100644 --- a/products/github/actions-runner/inputs.tf +++ b/products/github/actions-runner/inputs.tf @@ -32,7 +32,6 @@ variable "github_token" { type = string description = "The github token to use to register the runner." } - # Pass-thru variables variable "service_name" { type = string