[AIRFLOW-5684] docker-compose-kubernetes still used (#6353)
This commit is contained in:
Родитель
ac42428bf5
Коммит
f8794d888f
6
breeze
6
breeze
|
@ -900,17 +900,11 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAIN_DOCKER_COMPOSE_FILE=${SCRIPTS_CI_DIR}/docker-compose.yml
|
MAIN_DOCKER_COMPOSE_FILE=${SCRIPTS_CI_DIR}/docker-compose.yml
|
||||||
KUBERNETES_DOCKER_COMPOSE_FILE=${SCRIPTS_CI_DIR}/docker-compose-kubernetes.yml
|
|
||||||
BACKEND_DOCKER_COMPOSE_FILE=${SCRIPTS_CI_DIR}/docker-compose-${BACKEND}.yml
|
BACKEND_DOCKER_COMPOSE_FILE=${SCRIPTS_CI_DIR}/docker-compose-${BACKEND}.yml
|
||||||
LOCAL_DOCKER_COMPOSE_FILE=${SCRIPTS_CI_DIR}/docker-compose-local.yml
|
LOCAL_DOCKER_COMPOSE_FILE=${SCRIPTS_CI_DIR}/docker-compose-local.yml
|
||||||
|
|
||||||
COMPOSE_FILE=${MAIN_DOCKER_COMPOSE_FILE}:${BACKEND_DOCKER_COMPOSE_FILE}
|
COMPOSE_FILE=${MAIN_DOCKER_COMPOSE_FILE}:${BACKEND_DOCKER_COMPOSE_FILE}
|
||||||
|
|
||||||
if [[ "${ENV}" == "kubernetes" ]]; then
|
|
||||||
COMPOSE_FILE=${COMPOSE_FILE}:${KUBERNETES_DOCKER_COMPOSE_FILE}
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [[ "${SKIP_MOUNTING_LOCAL_SOURCES}" != "true" ]]; then
|
if [[ "${SKIP_MOUNTING_LOCAL_SOURCES}" != "true" ]]; then
|
||||||
COMPOSE_FILE=${COMPOSE_FILE}:${LOCAL_DOCKER_COMPOSE_FILE}
|
COMPOSE_FILE=${COMPOSE_FILE}:${LOCAL_DOCKER_COMPOSE_FILE}
|
||||||
fi
|
fi
|
||||||
|
|
Загрузка…
Ссылка в новой задаче