silly-accountant-4558307/25/2023, 1:07 PM
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:
garden deploy <my_docker_build_action>
yaml kind: Deploy type: exec name: example-registry-creds spec: deployCommand: [example, deploy, command] statusCommand: [example, status, command] cleanupCommand: [example, cleanup, command]
Maybe these logs can be related
yaml kind: Build type: container name: my-docker-image dependencies: - deploy.example-registry-creds include: - Dockerfile
Is this a bug? Please ping me if you need additional info. I am using garden
Found 0 files in Deploy action example-registry-creds root /path/to/example-registry-creds
on Ubuntu 20.04
resolve Deploy type=exec name=example-registry-creds is ready.
, it is deployed normally, but
anyway ignores it when building.
is also removing services in a wrong order.
garden delete ns --dependants-first
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-83107/27/2023, 2:54 PM
silly-accountant-4558307/27/2023, 2:56 PM
chilly-gigabyte-8385307/31/2023, 11:51 AM
silly-accountant-4558307/31/2023, 11:52 AM
is unusable for us, so we are just stuck with
chilly-gigabyte-8385308/03/2023, 10:29 AM
astonishing-tomato-1825908/04/2023, 9:19 AM
silly-accountant-4558308/04/2023, 9:43 AM
$ ./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-1825908/04/2023, 9:46 AM
silly-accountant-4558308/04/2023, 9:55 AM