Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.13: [Bug]: Module conversion: Build dependency missing in Deploy action converted from Module service #5667

Closed
stefreak opened this issue Jan 25, 2024 · 0 comments · Fixed by #5671
Assignees

Comments

@stefreak
Copy link
Member

stefreak commented Jan 25, 2024

Garden Bonsai (0.13) Bug

Current Behavior

Converted deploy action from module is missing build dependencies.

When running garden deploy, the test-image build action does not get triggerered.

Expected behavior

garden deploy should also trigger the build test-image

Reproducible example

# In foo.dockerfile
FROM nginx:latest
# In garden.yml
kind: Module
type: container
name: test-image
dockerfile: foo.dockerfile

---

kind: Module
type: container
name: test-deploy
build:
  dependencies: [test-image]
image: '${modules.test-image.outputs.deployment-image-id}'
services:
 - name: "test-deploy"

Then run garden deploy

Workaround

Convert to actions

Suggested solution(s)

Additional context

Your environment

  • OS: macOS
  • How I'm running Kubernetes: local-kubernetes

garden version 0.13.23-edge-bonsai-ce02590d3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants