Hatchery is a service dedicated to spawn and kill worker in accordance with build queue needs.

An hatchery is started with permissions to build all pipelines accessible from a given group, using token.

There are 6 modes for hatcheries:

Admin hatchery

As a CDS administrator, it is possible to generate an access token for all projects using the shared.infra group.

This group is builtin to CDS, and all CDS administrators are administrator of this group.

This means that by default, an hatchery using a token generated for this group will be able to spawn workers able to build all pipelines.