mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fix depends_on for awx devel when editable dependencies is enabled (#15393)
Fix depends_on for awx devel... when editable dependencies is on bug introduced by https://github.com/ansible/awx/pull/15386
This commit is contained in:
parent
59f61517d4
commit
7691365aea
@ -47,9 +47,6 @@ services:
|
||||
{% if minikube_container_group|bool %}
|
||||
MINIKUBE_CONTAINER_GROUP: "true"
|
||||
{% endif %}
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis_{{ container_postfix }}
|
||||
networks:
|
||||
- awx
|
||||
- service-mesh
|
||||
@ -80,8 +77,12 @@ services:
|
||||
- "~/.kube/config:/var/lib/awx/.kube/config"
|
||||
- "redis_socket_{{ container_postfix }}:/var/run/redis/:rw"
|
||||
privileged: true
|
||||
{% if editable_dependencies | length > 0 %}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_started
|
||||
redis_{{ container_postfix }}:
|
||||
condition: service_started
|
||||
{% if editable_dependencies | length > 0 %}
|
||||
init_awx:
|
||||
condition: service_completed_successfully
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user