diff --git a/cluster/apps/dev/forgejo-runner/deploy.yaml b/cluster/apps/dev/forgejo-runner/deploy.yaml deleted file mode 100644 index 1c02e71..0000000 --- a/cluster/apps/dev/forgejo-runner/deploy.yaml +++ /dev/null @@ -1,82 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.29.4/deployment.json -apiVersion: apps/v1 -kind: Deployment -metadata: - name: forgejo-runner - namespace: dev - labels: - app: forgejo-runner -spec: - replicas: 5 - selector: - matchLabels: - app: forgejo-runner - template: - metadata: - labels: - app: forgejo-runner - spec: - restartPolicy: Always - - volumes: - - name: docker-certs - emptyDir: {} - - name: runner-data - emptyDir: {} - - initContainers: - - name: runner-config-generation - image: code.forgejo.org/forgejo/runner:3.3.0 - command: - - sh - - -c - - forgejo-runner register --no-interactive --instance $FORGEJO_INSTANCE_URL --token $RUNNER_TOKEN - - env: - - name: RUNNER_TOKEN - valueFrom: - secretKeyRef: - name: forgejo-runner-token - key: token - - name: FORGEJO_INSTANCE_URL - value: https://${SECRET_NEW_DOMAIN} - - volumeMounts: - - name: runner-data - mountPath: /data - - containers: - - name: runner - image: code.forgejo.org/forgejo/runner:3.3.0 - command: - - sh - - -c - - while ! nc -z localhost 2376