When `breeze stop` is called all integrations are enabled (#14825)

Sometimes when an integration got broken, it could be broken
permanently due to left-over volume. This was because when
breeze stop was called the integration were not enabled and
some volumes were not deleted.

As result, breeze sometimes could not start with integrations, due to
misterious 'unhealthy' condition of one of the integrations.

This change enables all integrations automatically when
breeze stop is called so that all volumes are removed.
This commit is contained in:
Jarek Potiuk 2021-03-16 22:06:25 +01:00 коммит произвёл GitHub
Родитель 8caa4d620f
Коммит 5f774fae53
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 0 удалений

5
breeze
Просмотреть файл

@ -1419,6 +1419,11 @@ function breeze::parse_arguments() {
command_to_run="run_docker_compose"
docker_compose_command="down"
EXTRA_DC_OPTIONS+=("--remove-orphans")
for INTEGRATION in ${_breeze_allowed_integrations}; do
if [[ ${INTEGRATION} != "all" ]]; then
INTEGRATIONS+=("${INTEGRATION}")
fi
done
shift
;;
restart)