act/pkg
Markus Wolf 18792f9620
feat: run jobs in parallel (#1003)
* feat: run jobs in parallel

This changes fixes and restructures the parallel execution of jobs.
The previous changes limiting the parallel execution did break this
and allowed only one job in parallel.

While we run #CPU jobs in parallel now, the jobs added per job-matrix
add to this. So we might over-commit to the capacity, but at least
it is limited.

* fix: correctly build job pipeline

The job pipeline should just append all required pipeline steps.
The parallelism will be handled by the ParallelExecutor and we
shouldn't handle it during building the pipelines.

Also this adds a test, that the ParallelExecutor does run
a limited amount of parallel goroutines.

* test: correct test implementation

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-25 18:47:16 +00:00
..
artifacts feat: add node16 support (#922) 2021-12-22 19:34:18 +00:00
common feat: run jobs in parallel (#1003) 2022-02-25 18:47:16 +00:00
container fix: docker cp of dangling symlink (#943) (#948) 2022-01-27 16:53:26 +00:00
exprparser Expression evaluator fixes (#1009) 2022-02-25 18:39:50 +00:00
model refactor: default empty if: statement to if: success() in evaluator & remove FixIfStatement() (#990) 2022-02-15 20:03:00 +00:00
runner feat: run jobs in parallel (#1003) 2022-02-25 18:47:16 +00:00