mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Merge pull request #9990 from tchellomello/issue_238_wait_db_populate
Wait for the database migrations before starting cc: @shanemcd @Spredzy SUMMARY Before starting the tower-task container, we should wait for the database schema migrations to complete to avoid misleading users. This is much more evident on newer installations as the tower-task container will be noisy and populated with SQL errors which is a false positive due to the database being populated. See the ansible/awx-operator#238 for more information Fixes: ansible/awx-operator#238 ISSUE TYPE Feature Pull Request COMPONENT NAME API AWX VERSION devel Reviewed-by: Shane McDonald <me@shanemcd.com>
This commit is contained in:
commit
4cd4845617
@ -13,4 +13,6 @@ if [ -n "${AWX_KUBE_DEVEL}" ]; then
|
||||
export SDB_NOTIFY_HOST=$MY_POD_IP
|
||||
fi
|
||||
|
||||
wait-for-migrations
|
||||
|
||||
supervisord -c /etc/supervisord_task.conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user