You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a given service belongs to a K8s module and it hasn't been built and thereby is not in the .garden/build directory, the garden logs command will fail with:
ENOENT: no such file or directory, open '/path/to/.garden/build/my-servicre/my-service.yml'
Reproducible example
Change into the kubernetes-module example project.
Run rm -rf ./.garden/build
Run garden logs.
Workaround
Run garden build or garden deploy before running the logs command.
Suggested solution(s)
Either we read the manifest required to find the logs from the src dir or ensure that we stage it before getting the logs.
Your environment
Only tested on Garden 0.12 but AFAICT is broken on 0.13 as well.
The text was updated successfully, but these errors were encountered:
Bug
Current Behavior
If a given service belongs to a K8s module and it hasn't been built and thereby is not in the
.garden/build
directory, thegarden logs
command will fail with:ENOENT: no such file or directory, open '/path/to/.garden/build/my-servicre/my-service.yml'
Reproducible example
kubernetes-module
example project.rm -rf ./.garden/build
garden logs
.Workaround
Run
garden build
orgarden deploy
before running the logs command.Suggested solution(s)
Either we read the manifest required to find the logs from the src dir or ensure that we stage it before getting the logs.
Your environment
Only tested on Garden 0.12 but AFAICT is broken on 0.13 as well.
The text was updated successfully, but these errors were encountered: