-
Notifications
You must be signed in to change notification settings - Fork 333
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
build: only build amd64 image for CentOS #3784
build: only build amd64 image for CentOS #3784
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3784 +/- ##
==========================================
- Coverage 85.59% 85.27% -0.33%
==========================================
Files 946 946
Lines 159955 159955
==========================================
- Hits 136921 136402 -519
- Misses 23034 23553 +519 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
To be clear, once ring supports Linux arm64 again, we'd revert this change? Or we just no longer provide arm64 image. |
ring supports arm64, but not on CentOS 7 arm64. We also have other issues while compiling on CentOS 7 arm64 so we only provide binary for CentOS 7 x64. |
Make sense. CentOS 7 will be end of life at June 30, 2024. I suppose we provide such an image for certain user cases, and thus if no users need CentOS 7 arm64 explicitly, we can provide only CentOS 7 x64. |
It only builds an image for compiling the database (dev-builder), not for serving the database. We didn't use that image in the release action. So this PR fixes an unexpected behavior. |
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
briansmith/ring#1728
What's changed and what's your intention?
https://github.com/GreptimeTeam/greptimedb/actions/runs/8778537946/job/24085145007
While building dev builder image on CentOS we got the following error
Version 0.17 of ring doesn't support CentOS arm64. Since we don't provide arm64 binary for CentOS, I removed the arm64 image for CentOS in this PR.
BUILDX_MULTI_PLATFORM_BUILD
now has three possible valueChecklist