Files
infrastructure/servers/legion/gitea-runner.tf
T
Will Anderson 7c08543ca4 fix: gitea runner uses public URL via CF Access bypass
- Added Cloudflare Access bypass for git.neuralplatform.ai/api/actions/*
  restricted to Legion public IP (72.204.75.49)
- Runner now registers and communicates with git.neuralplatform.ai directly
- Job containers clone from https://git.neuralplatform.ai (proper name)
2026-03-24 13:40:31 -05:00

15 lines
435 B
Terraform

# Gitea act-runner — executes Gitea Actions CI jobs on Legion
# Registered at the instance level so it can serve all repos/orgs
resource "kubernetes_secret" "gitea_runner_secret" {
metadata {
name = "gitea-runner-secret"
namespace = kubernetes_namespace.ci.metadata[0].name
}
data = {
GITEA_INSTANCE_URL = "https://git.neuralplatform.ai"
GITEA_RUNNER_REGISTRATION_TOKEN = var.gitea_runner_token
}
}