disable gitea act

This commit is contained in:
2025-06-16 13:34:49 +05:30
parent 5a42c11d56
commit d05522d87d
2 changed files with 0 additions and 14 deletions

View File

@@ -1,72 +0,0 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: gitea-act-runner
name: gitea-act-runner
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: gitea-act-runner
strategy: {}
template:
metadata:
labels:
app: gitea-act-runner
spec:
restartPolicy: Always
volumes:
- name: docker-certs
emptyDir: {}
- name: runner-data
persistentVolumeClaim:
claimName: longhorn-gitea-dind
initContainers:
- name: wait-for-gitea
image: busybox
command:
- sh
- -c
- |
while ! nc -z gitea-int-service 3000; do
echo "Waiting for Gitea to be ready..."
sleep 5
done
echo "Gitea is ready!"
containers:
- name: runner
image: gitea/act_runner:nightly
command: ["sh", "-c", "while ! nc -z localhost 2376 </dev/null; do echo 'waiting for docker daemon...'; sleep 5; done; /sbin/tini -- run.sh"]
env:
- name: DOCKER_HOST
value: tcp://localhost:2376
- name: DOCKER_CERT_PATH
value: /certs/client
- name: DOCKER_TLS_VERIFY
value: "1"
- name: GITEA_INSTANCE_URL
value: https://gitea-int-service:3000
- name: GITEA_RUNNER_REGISTRATION_TOKEN
valueFrom:
secretKeyRef:
name: gitea-runner-token
key: token
volumeMounts:
- name: docker-certs
mountPath: /certs
- name: runner-data
mountPath: /data
- name: daemon
image: docker:28.2.2-dind
env:
- name: DOCKER_TLS_CERTDIR
value: /certs
securityContext:
privileged: true
volumeMounts:
- name: docker-certs
mountPath: /certs

View File

@@ -1,14 +0,0 @@
---
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: gitea-runner-token
namespace: default
spec:
encryptedData:
token: AgC4WjqJ2E3ySUUSBlJ1zpiKmouLAxHMl0aMPltl4uqaoodCktfl0m3pcamh84TomxrJEEXv7AG5be2sfgFJcWYYA43EAFmciK7ti4mGweXyknGS6a7uwwBUuDDqKNAisrr5rIFMzH1WYhVVGO74fJmLgKbeF7KnEy9S8OrVtuZD1v25VYpzymsB5LJWupizICgk1vYB4lol3U9GtAmuvFcoCO62AgE4Ajv4l9DU+CvP77mLODivnk2gAqL+aipOapN27AY6uABcIiZ7p2YPFmVYX+jX3LEuVJUsrVNwS8QAAnM0m7f/gsW5tezUYKL1W0TdD9taIwGTnx9tFbv1SJ3X0eUoOOCv8ee1qTyKDgy9A/oJuJJJNFyT6iArsY5dJv1+GXQ4jb47IwswrIvr9bhQpA39Vt4+TY3U6rX56Z/OurN2ZDVXi+4OscCx1q4ZoU0R54pU1WMjYF8iyqrEcpg3LYlWkZpXjqCwgpf/2WG7C+0aenjDR+CcsiskpFFJcz/jV5PdQS9xKa3N/IulawuYmAUYCIL4GbVhmYppOl5H58VdoJ7ykcPV5v2h9G3Rr1oFtU5E08tDphBfvaXY5yjIbd+PnoEATWKe33V/R0it2OGWfrzMUhE97VRq2e6hV+nvXxcRHhwdQiEagJ1MvAjnG9JqkBYfgZsqUv3fi9TTmGNuK6wDQhyBLSOGjhn9RrwESWWcNV1p1jS4qA4POW0DfuBmcNgbM0rAiVvYWCr4onng9rDS/a/T
template:
metadata:
name: gitea-runner-token
namespace: default
type: Opaque