avast/gradle-docker-compose-plugin

Parallelise the tasks

Aberta

#245 aberto em 24 de jun. de 2020

 (2 comentários) (1 reação) (0 responsável)Groovy (103 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (429 estrelas)
Métricas de merge de PR
 (Mesclagem média 24d 11h) (2 fundiu PRs em 30d)

Description

Hello, On our build the composeUp task takes 1 minute and the composeLogs task takes 51 seconds. A significant proportion of that is because we have around 15 containers in the docker-compose.yaml file. So on startup the plugin is checking the ports in serial. On exit it is dumping the logs in serial as well. It would be great if those were done in parallel. One container operation in a separate gradle worker: https://guides.gradle.org/using-the-worker-api/

Many thanks, Nikolay

Guia do colaborador