silly-accountant-45583
07/25/2023, 1:07 PMgarden deploy <my_docker_build_action>
it goes right away to building an image without even checking the status of exec deploy action. As a result image build fails as there are no creds deployed. In 0.12 it worked, but after upgrade to 0.13 dependency resolution seems broken. I've checked everything, but couldn't find anything to solve this issue.
My actions are defined as in the following example:
yaml
kind: Deploy
type: exec
name: example-registry-creds
spec:
deployCommand: [example, deploy, command]
statusCommand: [example, status, command]
cleanupCommand: [example, cleanup, command]
yaml
kind: Build
type: container
name: my-docker-image
dependencies:
- deploy.example-registry-creds
include:
- Dockerfile
Maybe these logs can be related
Found 0 files in Deploy action example-registry-creds root /path/to/example-registry-creds
Is this a bug?
Please ping me if you need additional info.
I am using garden v0.13.9
on Ubuntu 20.04resolve Deploy type=exec name=example-registry-creds is ready.
example-registry-creds
, it is deployed normally, but my-docker-image
anyway ignores it when building.garden delete ns --dependants-first
is also removing services in a wrong order. example-registry-creds
exec deploy is removed the very first instead of being removed the last. The whole delete operation fails as there are no registry creds available on the cluster and garden for some reason tries to build docker images of these services on delete (I think it is another bug. Why whould I want to build docker images when I am removing services?).quaint-dress-831
07/27/2023, 2:54 PMsilly-accountant-45583
07/27/2023, 2:56 PMchilly-gigabyte-83853
07/31/2023, 11:51 AMsilly-accountant-45583
07/31/2023, 11:52 AMv0.13
is unusable for us, so we are just stuck with v0.12
.chilly-gigabyte-83853
08/03/2023, 10:29 AMastonishing-tomato-18259
08/04/2023, 9:19 AMsilly-accountant-45583
08/04/2023, 9:43 AM0.13.6
. Logs:$ ./bin/garden build my-container
Build
Garden v0.13 (Bonsai) is a major release with significant changes. Please help us improve it by reporting any issues/bugs here:
https://go.garden.io/report-bonsai
→ Run garden util hide-warning 0.13-bonsai to disable this warning.
ℹ garden → Running in Garden environment local.default
ℹ providers → Getting status...
✔ providers → Done (took 1.8 sec)
ℹ graph → Resolving actions and modules...
✔ graph → Done (took 0.1 sec)
ℹ build.my-container → -> Updating Docker auth secret in namespace root-default
ℹ build.my-container → -> Deploying garden-buildkit daemon in root-default namespace (was missing)
ℹ build.my-container → Waiting for resources to be ready...
ℹ build.my-container → Deployment/garden-buildkit: Started container util
ℹ build.my-container → Resources ready
ℹ build.my-container → Done!
astonishing-tomato-18259
08/04/2023, 9:46 AMsilly-accountant-45583
08/04/2023, 9:55 AM