avast/gradle-docker-compose-plugin

Parallelise the tasks

Ouverte

#245 ouverte le 24 juin 2020

 (2 commentaires) (1 réaction) (0 personne assignée)Groovy (103 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (429 étoiles)
Métriques de merge PR
 (Merge moyen 24j 11h) (2 PRs mergées en 30 j)

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

Guide contributeur