Skip to content

Question on how to setup. #6297

@ebo-bpi

Description

@ebo-bpi

We have a monorepo (nx / next) from which we build several applications.
reading the documentation concepts we could build this in multiple ways:

  1. create a pipeline with a job for every app.(checkout, build)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions