Overlapping generateFiles[].targetPath
in different modules do not raise an error and overwrite each other
#4921
Labels
generateFiles[].targetPath
in different modules do not raise an error and overwrite each other
#4921
Bug
generateFiles
in a sharedModuleTemplate
generates the files in the calling repository instead of the build directory and also if called twice, it over-writes each other.Current Behavior
In my project, I include a source for the module template:
The
ModuleTemplate
has agenerateFiles
:When I do a
garden build
that file shows up in the calling project in three places:However, both the build manifests in
s1/
ands2/
show the same service name ofs2
.Expected behavior
I would expect it not to create the file at the top level of the calling repo at all,
and the
build/s1
andbuild/s2
to each be different manifests instead of both using the same service name.Reproducible example
project.garden.txt
Workaround
I include the service name in the manifests:
Suggested solution(s)
unknown
Your environment
EKS and docker desktop
garden version
0.12.63
The text was updated successfully, but these errors were encountered: