quickstart: web and others wait on mysql to start

Change-Id: Ibc004adc67add0c14a98d9de5c508f5aa131224c
This commit is contained in:
Josef Wells 2019-03-01 16:19:42 -06:00
parent d298cb12e0
commit f72682f477
2 changed files with 5 additions and 1 deletions

View File

@ -50,7 +50,7 @@ services:
- "sshkey:/var/ssh:z"
- /var/lib/zuul
web:
command: "zuul-web -d"
command: "sh -c 'ansible-playbook /var/playbooks/wait-to-start.yaml; zuul-web -d'"
depends_on:
- scheduler
- mysql

View File

@ -8,6 +8,10 @@
wait_for:
host: gerrit
port: 29418
- name: Wait for mysql to start
wait_for:
host: mysql
port: 3306
- name: Wait for zuul user to be created
uri:
url: http://gerrit:8080/a/accounts/zuul/sshkeys