diff --git a/clusters/default/git-ops/gitea-act/gitea-act.yml b/clusters/default/git-ops/gitea-act/gitea-act.yml index 50f729c..2661c42 100644 --- a/clusters/default/git-ops/gitea-act/gitea-act.yml +++ b/clusters/default/git-ops/gitea-act/gitea-act.yml @@ -19,29 +19,26 @@ spec: app: gitea-act-runner spec: restartPolicy: Always - hostNetwork: true volumes: - name: docker-certs emptyDir: {} - name: runner-data persistentVolumeClaim: claimName: gitea-act-runner-longhorn - initContainers: - - name: wait-for-gitea - image: busybox - command: - - sh - - -c - - | - while ! nc -z gitea.akshun-lab.cc 443; do - echo "Waiting for Gitea to be ready..." - sleep 5 - done - echo "Gitea is ready!" containers: - name: runner image: gitea/act_runner@sha256:8477d5b61b655caad4449888bae39f1f34bebd27db56cb15a62dccb3dcf3a944 command: ["sh", "-c", "while ! nc -z localhost 2376