-
Notifications
You must be signed in to change notification settings - Fork 590
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
feat(ci): add fast-docker-build-arm
workflow
#18124
Conversation
@@ -6,6 +6,7 @@ set -euo pipefail | |||
ghcraddr="ghcr.io/risingwavelabs/risingwave" | |||
dockerhubaddr="risingwavelabs/risingwave" | |||
arch="$(uname -m)" | |||
CARGO_PROFILE=${CARGO_PROFILE:-production} |
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.
It will still default to production
, only in the fast docker build we will use release
profile.
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.
Why do we only add this for arm
arch?
BTW, release
profile enables incremental building. Can consider disabling it (by defining a new profile) for further speed-up.
Good idea. Let me see how much further we can bring it down. |
80aff8b
to
401c80b
Compare
# Patch profile for production clusters. | ||
# It will trade-off lto for faster build time. | ||
[profile.patch-production] | ||
inherits = "production" | ||
debug = "full" | ||
incremental = false | ||
split-debuginfo = "packed" | ||
lto = "off" |
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.
Can you comment the reason for other changes: especially debug
& split-debuginfo
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.
Actually I suppose we don't need those fields. We can just follow what production
has set. Let me update it.
Co-authored-by: Noel Kwan <[email protected]>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Thanks to @BugenZhao the work here is rather trivial after #17760.
We just use the
release
profile for thefast-docker-build-arm
workflow, and only build and tag thearm
image.That profile has
lto
disabled.Bring image build time down to 16m40s. https://buildkite.com/risingwavelabs/fast-docker-build-arm/builds/6#_
Closes #18097
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.