mach-composer-cli
mach-composer-cli copied to clipboard
Perform deploy-time component analysis
We clone the repo of each component when performing a mach update.
If we implement the same behaviour during a mach generate there are a couple advantages that it brings:
- We can detect other files or directories that might be useful for a MACH deployment for example a
dashboarddirectory to manage a Azure Dashboard orexample-datadirectory to automatically load example data - Read out a
.machconfiguration file to avoid having to set certain settings in the MACH configuration; for example thehas_public_api,integrationsand all that. It also makes it easier to upgrade to newer versions when, for example the set of integrations changes over time.
Things we might consider:
- Document how to cache the
.machdirectory in the CI/CD sections of the documentation - See if we can avoid Terraform having to clone the same repositories again