From cbb564ccf5dff68de83c339c83fe6da36973c6ee Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Mon, 4 May 2026 21:05:29 +0000 Subject: [PATCH] =?UTF-8?q?revert(ci):=20runner=20public=20URL=20=E2=80=94?= =?UTF-8?q?=20CF=20Access=20blocks=20registration=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- servers/legion/k8s/gitea-runner/deployment.yaml | 8 ++++---- servers/legion/k8s/gitea-runner/external-secrets.yaml | 11 ++--------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/servers/legion/k8s/gitea-runner/deployment.yaml b/servers/legion/k8s/gitea-runner/deployment.yaml index 1ec8d3c..6a32df9 100644 --- a/servers/legion/k8s/gitea-runner/deployment.yaml +++ b/servers/legion/k8s/gitea-runner/deployment.yaml @@ -8,7 +8,7 @@ metadata: labels: app: gitea-runner annotations: - config-version: "2026-05-04-public-instance-url" + config-version: "2026-05-04-docker-sock-fix" spec: replicas: 1 selector: @@ -19,7 +19,7 @@ spec: labels: app: gitea-runner annotations: - config-version: "2026-05-04-public-instance-url" + config-version: "2026-05-04-docker-sock-fix" spec: securityContext: runAsNonRoot: false @@ -92,7 +92,7 @@ metadata: labels: app: neuron-technologies-runner annotations: - config-version: "2026-05-04-public-instance-url" + config-version: "2026-05-04-docker-sock-fix" spec: replicas: 2 selector: @@ -103,7 +103,7 @@ spec: labels: app: neuron-technologies-runner annotations: - config-version: "2026-05-04-public-instance-url" + config-version: "2026-05-04-docker-sock-fix" spec: securityContext: runAsNonRoot: false diff --git a/servers/legion/k8s/gitea-runner/external-secrets.yaml b/servers/legion/k8s/gitea-runner/external-secrets.yaml index c6efaf1..e5ac5d1 100644 --- a/servers/legion/k8s/gitea-runner/external-secrets.yaml +++ b/servers/legion/k8s/gitea-runner/external-secrets.yaml @@ -17,13 +17,7 @@ spec: creationPolicy: Owner template: data: - # Public URL — the in-cluster name (gitea.git.svc.cluster.local) is - # not resolvable from build containers running with `network: host`, - # which causes `git fetch` to fail at the very first checkout step. - # The runner polls Gitea over Cloudflare; the latency cost is small - # and the build container's clone URL is derived from this instance, - # so it has to be a name the build container can resolve. - GITEA_INSTANCE_URL: "https://git.neuralplatform.ai" + GITEA_INSTANCE_URL: "http://gitea.git.svc.cluster.local:3000" GITEA_RUNNER_REGISTRATION_TOKEN: "{{ .runner_token }}" data: - secretKey: runner_token @@ -47,8 +41,7 @@ spec: creationPolicy: Owner template: data: - # Public URL — see commentary on the gitea-runner-secret above. - GITEA_INSTANCE_URL: "https://git.neuralplatform.ai" + GITEA_INSTANCE_URL: "http://gitea.git.svc.cluster.local:3000" GITEA_RUNNER_REGISTRATION_TOKEN: "{{ .runner_token }}" data: - secretKey: runner_token