mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02: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:
@@ -47,9 +47,6 @@ services:
|
|||||||
{% if minikube_container_group|bool %}
|
{% if minikube_container_group|bool %}
|
||||||
MINIKUBE_CONTAINER_GROUP: "true"
|
MINIKUBE_CONTAINER_GROUP: "true"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
- redis_{{ container_postfix }}
|
|
||||||
networks:
|
networks:
|
||||||
- awx
|
- awx
|
||||||
- service-mesh
|
- service-mesh
|
||||||
@@ -80,8 +77,12 @@ services:
|
|||||||
- "~/.kube/config:/var/lib/awx/.kube/config"
|
- "~/.kube/config:/var/lib/awx/.kube/config"
|
||||||
- "redis_socket_{{ container_postfix }}:/var/run/redis/:rw"
|
- "redis_socket_{{ container_postfix }}:/var/run/redis/:rw"
|
||||||
privileged: true
|
privileged: true
|
||||||
{% if editable_dependencies | length > 0 %}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_started
|
||||||
|
redis_{{ container_postfix }}:
|
||||||
|
condition: service_started
|
||||||
|
{% if editable_dependencies | length > 0 %}
|
||||||
init_awx:
|
init_awx:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user