Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow multiple modules in a single file #535

Merged
merged 2 commits into from
Feb 19, 2019
Merged

Conversation

thsig
Copy link
Collaborator

@thsig thsig commented Feb 13, 2019

More than one module can now be defined in the same garden.yml file.

This is useful e.g. where more than one Dockerfile is used to build the same container (e.g. for development and production).

Within a garden.yml file, each module definition lives within a YAML document (separated by ---).

@thsig thsig force-pushed the multiple-modules branch 2 times, most recently from cdc133c to 9151167 Compare February 18, 2019 13:01
@thsig
Copy link
Collaborator Author

thsig commented Feb 18, 2019

I've added support for the flat config style in the second commit: 9151167

More than one module can now be defined in the same garden.yml file.

This is useful e.g. where more than one Dockerfile is used to build the
same container (e.g. for development and production).

Within a garden.yml file, each module definition lives within a YAML
document (separated by `---`).
Projects and modules can now be configured in a flat style.

That is, not nested under the project/module key, but with the entity type
indicated by the new `kind` key, analogously to the YAML syntax for k8s
object definitions.

Also changed the (currently unused) schema version string format to
`garden.io/[version]`.
@thsig thsig merged commit 71cf748 into master Feb 19, 2019
@thsig thsig deleted the multiple-modules branch February 19, 2019 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants