We have a monorepo (nx / next) from which we build several applications.
reading the documentation concepts we could build this in multiple ways:
- create a pipeline with a job for every app.(checkout, build)
- create workflow with a pipeline and reuse this to build all apps.
What is in your opinion the way we should set this up?
We build from 1 source, so I would like to reuse the checkout if possible. (reduce waiting time and io)
End result is a docker container which should be deployed in a later stage. (other pipeline or workflow?)
I would like to do a build for all affected apps (nx feature) and add this as a result status to the pr.
With multiple pipelines this will result in multiple pr comments for every app. (did not find a way to do this at workflow level)
Hope you guys could give me some hints what the best approach would be
We have a monorepo (nx / next) from which we build several applications.
reading the documentation concepts we could build this in multiple ways:
What is in your opinion the way we should set this up?
We build from 1 source, so I would like to reuse the checkout if possible. (reduce waiting time and io)
End result is a docker container which should be deployed in a later stage. (other pipeline or workflow?)
I would like to do a build for all affected apps (nx feature) and add this as a result status to the pr.
With multiple pipelines this will result in multiple pr comments for every app. (did not find a way to do this at workflow level)
Hope you guys could give me some hints what the best approach would be