I have a mono-repo that contains multiple services. Ideally, I want to test each service in parallel. Each branch has 2 stages:
- test
- benchmark
To give something similar to this:
clone
/ \
/ \
/ \
/ \
svc1-test svc2-test
| |
svc1-bench svc2-bench
\ /
\ /
\ /
\ /
notify
The build would pass only if the all branches have succeeded. Furthermore, we could fail a branch early and not execute the benchmarking if the tests fail for any given branch.
From reading the documentation I see how I can run parallel stages using group
, but not how to put many stages in a single branch.
I guess my fallback solution would be to put combine test+benchmark in a single stage, but I think it would be nice to isolate them, especially since the dependencies may vary for each.