avast/gradle-docker-compose-plugin

Parallelise the tasks

开放

#245 创建于 2020年6月24日

 (2 条评论) (1 个反应) (0 位负责人)Groovy (103 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (429 个星标)
PR 合并指标
 (平均合并 24天 11小时) (30 天内合并 2 个 PR)

描述

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

贡献者指南