-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[WIP] build: Add debian/redhat packaging #16899
Conversation
e4ca7da
to
8eede52
Compare
55b501f
to
ffa0b9b
Compare
22fe851
to
c06e650
Compare
c8a9b9b
to
0b518be
Compare
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.
@lizan this is still pretty wip, altho most of the parts are now ~working in a mvp way
i had a few ci and compiler questions that i hoped you would be able to assist with - questions in review...
ci/do_ci.sh
Outdated
echo "Building distro packages..." | ||
mkdir -p "${ENVOY_DELIVERY_DIR}/envoy" | ||
if [[ "${ENVOY_BUILD_ARCH}" == "x86_64" ]]; then | ||
bazel build "${BAZEL_BUILD_OPTIONS[@]}" -c opt //builds:packages_x64 |
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.
im wondering what the best compile flags/options/etc are
@@ -220,6 +253,40 @@ stages: | |||
rbe: false | |||
artifactSuffix: ".arm64" | |||
bazelBuildExtraOptions: "--sandbox_base=/tmp/sandbox_base" | |||
- job: package |
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.
ive added the packaging as a separate job after release
- not sure how optimal that is
im wondering whether to either incorporate it with release
or conversely to possibly incorporate it with what is currently the docker
stage and make that to something like builds
artifactSuffix: ".arm64" | ||
bazelBuildExtraOptions: "--sandbox_base=/tmp/sandbox_base" | ||
- job: verify | ||
# possibly move this job to verify at the end. |
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.
as per the comment this could potentially run in parallel with the verifying of examples at the end
might I recommend using https://github.com/goreleaser/nfpm to build rpm, Debian, and alpine packages. |
afaict it doesnt have any bazel support - im pretty keen to standardize the tooling around bazel rules |
fair enough, I don't use Looking at the
if this sounds interesting I can get working on this. |
it sounds interesting - but its not immediately clear what the advantage over using |
cef956f
to
351ff40
Compare
a5ccff8
to
15fed89
Compare
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
15fed89
to
51287bf
Compare
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Signed-off-by: Ryan Northey ryan@synca.io
Commit Message: build: Add debian packaging
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] Partial fix for #16867
[Optional Deprecated:]
[Optional API Considerations:]