Import tasks to run from other yaml files #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Place common tasks in separated yaml files in the same repository, instead of baking scripts inside base container.
It may come useful if building from local yaml files, not from HTTP URL.
In my perspective, I see it like this:
The imported yaml file have exactly same structure as capsule manifest, but can be partial, like contain only install section:
In the main manifest, import can look like this:
And objects from install section of
common/update-repos.yamlwill be placed exactly at the import section position, expanded. Resulting in the following file:What is considered for discussion, if we allow merging
export,envand other sections. But ignoring fields likeimage,output,compression... Making manifests truly modular.Like, you can just import any other capsule manifest files, defining installation of different programs into one big merged capsule. But they will be in separate files and can be used independently if needed.