comment out

This commit is contained in:
Chris Richardson
2025-07-02 23:37:54 -04:00
parent 5ced4d798a
commit 8dbc1f124e
27 changed files with 223 additions and 187 deletions

View File

@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: act-runner
name: act-runner
spec:
replicas: 1
selector:
matchLabels:
app: act-runner
strategy: {}
template:
metadata:
labels:
app: act-runner
spec:
restartPolicy: Always
volumes:
- name: runner-data-nfs
persistentVolumeClaim:
claimName: runner-data-nfs
securityContext:
fsGroup: 1000
containers:
- name: runner
image: vegardit/gitea-act-runner:dind-latest
imagePullPolicy: Always
# command: ["sh", "-c", "while ! nc -z localhost 2376 </dev/null; do echo 'waiting for docker daemon...'; sleep 5; done; /sbin/tini -- /opt/act/run.sh"]
env:
- name: GITEA_RUNNER_JOB_CONTAINER_PRIVILEGED
value: "true"
- name: GITEA_RUNNER_JOB_CONTAINER_NETWORK
value: "host"
- name: GITEA_INSTANCE_URL
value: http://gitea-service:80
- name: GITEA_RUNNER_REGISTRATION_TOKEN
valueFrom:
secretKeyRef:
name: runner-secret
key: token
securityContext:
privileged: true
volumeMounts:
- name: runner-data-nfs
mountPath: /data