-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): allow disabling modules, services, tests + tasks in confi…
…gs (#1515) * feat(core): allow disabling modules, services, tests + tasks in configs This adds an optional `disabled` boolean field to all modules, and where applicable to service, task and test config schemas. The semantics are explained both in docs and unit tests, but they are as follows: - Disabling a module disables all services, tasks and tests within it. - A disabled module may still be built if it is a build dependency of another module. - Disabled services are never deployed and are ignored if listed as runtime dependencies. - Disabled tasks are never run and are ignored if listed as runtime dependencies. - Disabled tests are never run. - An error if throw if trying to explicitly run a service, task or test via `garden run ...`, unless the `--force` flag is set.
- Loading branch information
Showing
105 changed files
with
4,028 additions
and
1,588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.