use gitea-int-service
This commit is contained in:
@@ -19,13 +19,20 @@ spec:
|
||||
initContainers:
|
||||
- name: wait-for-gitea
|
||||
image: busybox
|
||||
command: ['sh', '-c', 'until nslookup gitea-service 3011; do echo waiting for gitea; sleep 2; done']
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
until nc -z -v -w30 gitea-int-service 3000; do
|
||||
echo "Waiting for gitea to be ready..."
|
||||
sleep 2
|
||||
done
|
||||
containers:
|
||||
- name: runner
|
||||
image: gitea/act_runner:latest
|
||||
env:
|
||||
- name: GITEA_INSTANCE_URL
|
||||
value: "http://gitea-service:3011/"
|
||||
value: "http://gitea-int-service:3000/"
|
||||
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
Reference in New Issue
Block a user