Skip to content

missena-corp/gally

Repository files navigation

Gally

Gally helps to manage projects that are part of a monorepository. It provides simple tools to detect what projects have changed, as well as test and build them.

Installation

Download a binary from the release page

Requirement: In order for Gally to work, you must have git installed and accessible from your path.

Configuration

To define a project with Gally, create a .gally.yml file in the directory that contains the project. For instance, if you have a project named simpleapi in the /apps/simpleapi directory of your monorepository, create a file .gally.yml in this directory.

Note: Nested projects are not allowed

For more details about the configuration and how to use gally, see:

How are builds triggered?

Opposite to scripts: properties which are triggered if the project contains changes or if you use the -f|--force flag, the build: section can be triggered in different ways:

  • If you've set the tag: property to false which is now the advised way to deal with builds, the build are triggered if a file changes in the project directory
  • If you've set the tag: property to true, then build are triggered if the 2 following conditions are met:
    • Changes are detected in the project directory
    • A tag exists on the commit that matches the <project>@<version> and the <version> part of it matches the version: command output.

More...

Do not hesitate to contribute by opening an issue or create a pull request.

License

Gally is available under the MIT license, see the LICENSE file for details.