From ea4c6b4cd9034511b48f318a15477576e5e4a396 Mon Sep 17 00:00:00 2001 From: William P Date: Thu, 13 Mar 2025 11:27:50 -0400 Subject: [PATCH] gitea-runner: add --- gitea-runner/deployment.yaml | 49 ++++++++++++++++++++++++++++++++++++ gitea-runner/pvc.yaml | 12 +++++++++ gitea-runner/secret.yaml | 17 +++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 gitea-runner/deployment.yaml create mode 100644 gitea-runner/pvc.yaml create mode 100644 gitea-runner/secret.yaml diff --git a/gitea-runner/deployment.yaml b/gitea-runner/deployment.yaml new file mode 100644 index 0000000..f881bf3 --- /dev/null +++ b/gitea-runner/deployment.yaml @@ -0,0 +1,49 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: act-runner + name: act-runner +spec: + replicas: 1 + selector: + matchLabels: + app: act-runner + strategy: {} + template: + spec: + restartPolicy: Always + volumes: + - name: runner-data + persistentVolumeClaim: + claimName: act-runner-vol + securityContext: + fsGroup: 1000 + containers: + - name: runner + image: gitea/act_runner:nightly-dind-rootless + imagePullPolicy: Always + # command: ["sh", "-c", "while ! nc -z localhost 2376