feat: add sleep before runner token

This commit is contained in:
ange 2024-06-05 12:51:45 +02:00
parent cb6513b6a3
commit dab5e38df1
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -78,6 +78,7 @@ kapply common/job.yaml \
kubectl rollout restart statefulset app
kubectl wait --timeout=5m --for=condition=complete job/createadminuser
sleep 5
kcreatesec runner \
--from-literal=token="$(kgseckey runner token || kubectl exec app-0 -- gitea actions generate-runner-token)"