avast/gradle-docker-compose-plugin

Parallelise the tasks

オープン

#245 opened on 2020/06/24

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)Groovy (103 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (429 個のスター)
PR merge metrics
 (平均マージ 24d 11h) (30d で 2 merged PRs)

説明

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

コントリビューターガイド