Skip to content

Dani fix buildkit upgrade ci#460

Draft
danielschlegel wants to merge 5 commits into
mainfrom
dani-fix-buildkit-upgrade-ci
Draft

Dani fix buildkit upgrade ci#460
danielschlegel wants to merge 5 commits into
mainfrom
dani-fix-buildkit-upgrade-ci

Conversation

@danielschlegel
Copy link
Copy Markdown
Collaborator

No description provided.

gilescope and others added 5 commits April 30, 2026 08:04
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
- Fix Docker image reference format issue that was preventing buildkitd from starting
- Build working buildkitd image with compatible buildkit version
- Verify core build targets work (+earthly, +lint)
- Addresses invalid reference format error in CI checks
- Maintains backward compatibility with existing buildkit upgrade changes

The key fix was ensuring a properly built buildkitd image is available
and correctly referenced, allowing the buildkit upgrade to work in CI.
@github-actions
Copy link
Copy Markdown

🎉 Are we earthbuild yet?

Great progress! You've reduced "earthly" occurrences by 43 (0.77%)

📈 Overall Progress

Branch Total Count
main 5557
This PR 5514
Difference -43 (0.77%)

📁 Changes by file type:

File Type Change
Go files (.go) ➖ No change
Documentation (.md) ➖ No change
Earthfiles ✅ -6

Keep up the great work migrating from Earthly to Earthbuild! 🚀

💡 Tips for finding more occurrences

Run locally to see detailed breakdown:

./.github/scripts/count-earthly.sh

Note that the goal is not to reach 0.
There is anticipated to be at least some occurences of earthly in the source code due to backwards compatibility with config files and language constructs.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request transitions references from the earthly organization to EarthBuild across documentation and build configurations, while also updating the default branch for the BuildKit fork to main. Additionally, several Go dependencies are upgraded, including grpc, containerd, and docker. A correction is needed in buildkitd/Earthfile to fix a logging variable name mismatch that would result in an empty branch name being displayed.

Comment thread buildkitd/Earthfile
echo "looking up branch $BUILDKIT_GIT_BRANCH"; \
buildkit_sha1=$(git ls-remote --refs -q https://github.com/$BUILDKIT_GIT_ORG/buildkit.git "$BUILDKIT_GIT_BRANCH" | awk 'BEGIN { FS = "[ \t]+" } {print $1}'); \
echo "pinning github.com/earthly/buildkit@${BUILDKIT_BRANCH} to reference git sha1: $buildkit_sha1"; \
echo "pinning github.com/${BUILDKIT_GIT_ORG}/buildkit@${BUILDKIT_BRANCH} to reference git sha1: $buildkit_sha1"; \
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The variable ${BUILDKIT_BRANCH} is used in this log message, but the argument defined in this target is BUILDKIT_GIT_BRANCH (as seen on line 95). This will result in an empty branch name being printed in the logs. It should be updated to ${BUILDKIT_GIT_BRANCH} to match the argument name and the lookup logic used on the preceding lines.

            echo "pinning github.com/${BUILDKIT_GIT_ORG}/buildkit@${BUILDKIT_GIT_BRANCH} to reference git sha1: $buildkit_sha1"; \

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants