3ee16a7b2f
The log line that we should wait for has changed in Zuul; this is the new equivalent. Change-Id: I34fc52729fa64bb36c72fe6661f0794620a25092 Depends-On: https://review.opendev.org/c/zuul/zuul/+/804806
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
- name: Wait maximum 15 minutes for the scheduler deployment
|
|
shell: |
|
|
for idx in $(seq 90); do
|
|
date;
|
|
kubectl get statefulset zuul-scheduler 2> /dev/null && break || :
|
|
sleep 10;
|
|
done
|
|
|
|
- name: Wait for scheduler deployment
|
|
command: timeout 10m kubectl rollout status statefulset/zuul-scheduler
|
|
|
|
- name: Wait 8 minutes for scheduler to settle
|
|
command: kubectl logs pod/zuul-scheduler-0
|
|
register: _scheduler_log
|
|
until: "'Config priming complete' in _scheduler_log.stdout"
|
|
delay: 10
|
|
retries: 48
|
|
|
|
- name: Wait for executor deployment
|
|
command: timeout 10m kubectl rollout status statefulset/zuul-executor
|
|
|
|
- name: Wait 8 minutes for kube launcher to settle
|
|
command: kubectl logs deployment/nodepool-launcher-kube-cluster
|
|
register: _launcher_log
|
|
until: "'Starting PoolWorker' in _launcher_log.stdout"
|
|
delay: 10
|
|
retries: 48
|
|
|
|
- name: Wait 8 minutes for static launcher to settle
|
|
command: kubectl logs deployment/nodepool-launcher-static-vms
|
|
register: _launcher_log
|
|
until: "'Starting PoolWorker' in _launcher_log.stdout"
|
|
delay: 10
|
|
retries: 48
|