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

WITH DOCKER breaks with EARTHLY_DOCKERD_CACHE_DATA: parameter not set #4128

Closed
alexcb opened this issue May 17, 2024 · 0 comments · Fixed by #4133
Closed

WITH DOCKER breaks with EARTHLY_DOCKERD_CACHE_DATA: parameter not set #4128

alexcb opened this issue May 17, 2024 · 0 comments · Fixed by #4133
Labels
type:bug Something isn't working

Comments

@alexcb
Copy link
Collaborator

alexcb commented May 17, 2024

What went wrong?

using older versions of earthly cli, like v0.8.9 along with a satellite running v0.8.10, would fail to run any WITH DOCKER commands:

/var/earthly/dockerd-wrapper.sh: 80: EARTHLY_DOCKERD_CACHE_DATA: parameter not set

What should have happened?

The dockerd wrapper script should have supplied a default value when no value was passed from the earthly cli, e.g.

EARTHLY_DOCKERD_CACHE_DATA=${EARTHLY_DOCKERD_CACHE_DATA:-"false"}

should have been included (and was since added under #4121)

What earthly version?

v0.8.9 (or earlier) cli and a satellite running v0.8.10

Buildkit Logs

No response

Other Helpful Information

This feature was initially implemented under #4064, which included a test for the feature; however no backwards compatibility test existed which is how this bug went undetected.

Action Item
Write a test that will use the existing earthly v0.8.0 binary against a version of buildkitd that's compiled from main to provide test coverage for backwards incompatibility issues.

@alexcb alexcb added the type:bug Something isn't working label May 17, 2024
alexcb added a commit that referenced this issue May 17, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 17, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 18, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
alexcb added a commit that referenced this issue May 21, 2024
Introduces a new test for validating earthly v0.8.0 can work with the
current version of earthly-buildkitd.

Fixes #4128

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant