Files
test_build/runner.yaml
Bensch 4d7f91b116 init
2026-02-24 13:52:32 +00:00

55 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: gitea-runner
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: gitea-runner
template:
metadata:
labels:
app: gitea-runner
spec:
containers:
- name: runner
image: gitea/act_runner:latest
imagePullPolicy: Always
env:
- name: GITEA_INSTANCE_URL
value: "https://git.stalwart.a1cloud.dev/"
- name: GITEA_RUNNER_REGISTRATION_TOKEN
value: "m5lhsDgMCHVxlBJ9FUadv28uPvpaQH3pKzFiFjqD"
- name: RUNNER_EXECUTOR
value: "shell"
- name: RUNNER_LABELS
value: "shell,buildkit"
- name: BUILDKIT_HOST
value: "tcp://buildkitd-service-name.namespace.svc.cluster.local:1234"
- name: GITEA_RUNNER_LABELS
value: "shell:host,buildkit:host"
volumeMounts:
- name: runner-data
mountPath: /data
volumes:
- name: runner-data
emptyDir: {}