charypar / monobuild

A build orchestration tool for Continuous Integration in a monorepo.
MIT License
27 stars 5 forks source link

Output only root components #9

Closed frigus02 closed 6 years ago

frigus02 commented 6 years ago

In our repository we always want to deploy full application stacks. A stack usually consists of multiple APIs and one frontend. The repository contains multiple stacks.

Sometimes a commit contains changes to multiple components and affects multiple stacks. In these cases I want to manually decide which stacks should get deployed. For this I want to ask monobuild for a list of stacks, which changed in this commit.

We should be able to identify stacks in the graph because they don't have any incoming dependencies.

Example:

charypar commented 6 years ago

I'm thinking --entrypoints or --top-level for the flag. It seems to apply to both diff and print.