use gitea-int-service
This commit is contained in:
@@ -19,13 +19,20 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-gitea
|
- name: wait-for-gitea
|
||||||
image: busybox
|
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:
|
containers:
|
||||||
- name: runner
|
- name: runner
|
||||||
image: gitea/act_runner:latest
|
image: gitea/act_runner:latest
|
||||||
env:
|
env:
|
||||||
- name: GITEA_INSTANCE_URL
|
- name: GITEA_INSTANCE_URL
|
||||||
value: "http://gitea-service:3011/"
|
value: "http://gitea-int-service:3000/"
|
||||||
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user