kiegroup / github-action-build-chain

86 stars 24 forks source link

allow parallelization #427

Closed Ginxo closed 1 year ago

Ginxo commented 1 year ago

The idea behind this issue is to allow parallelization for the running commands for the projects at the same level of the project hierarchy. Let's suppose the case where some of the repositories are at the same level (like the ones in red from attached image) image

what if we allow them to run commands in parallel? :thinking:

my proposal here is:

this way we should be allow to save execution time for some of use cases, wdyt @shubhbapna ?

Ginxo commented 1 year ago

I'm worried about logging and how it can pollute reading, but in another hand, since I don't find a good approach for solving it, you can accept as user in case of parallelization it will be harder to read/follow, I mean, I wouldn't keep log information in memory to throw it out once completed (in could case critical side effects) or I wouldn't just point the user out to archived log files...