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

貢獻者指南