-
Notifications
You must be signed in to change notification settings - Fork 3.2k
s390x binaries included in librdkafka.redist NuGet package and static builds package #5365
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
Changes from all commits
8d12fc8
870fa87
1cc170d
5acff35
f4e58aa
2bbfc93
3c044f2
f228eaf
664b316
8d80e87
7b62aab
74794d5
b96777c
15165b8
66085fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -91,6 +91,14 @@ class NugetPackage (Package): | |
| 'librdkafka.tgz', | ||
| './usr/local/lib/librdkafka.so.1', | ||
| 'runtimes/linux-arm64/native/librdkafka.so'), | ||
| # Linux glibc centos8 s390x without GSSAPI (no external deps) | ||
| Mapping({'arch': 's390x', | ||
| 'plat': 'linux', | ||
| 'dist': 'centos8', | ||
| 'lnk': 'all'}, | ||
| 'librdkafka.tgz', | ||
| './usr/local/lib/librdkafka.so.1', | ||
| 'runtimes/linux-s390x/native/librdkafka.so'), | ||
|
Comment on lines
+94
to
+101
|
||
|
|
||
| # Linux musl alpine x64 without GSSAPI (no external deps) | ||
| Mapping({'arch': 'x64', | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,9 +11,10 @@ | |||||||||||||
| # alpine:3.16 | ||||||||||||||
| # quay.io/pypa/manylinux_2_28_aarch64 (centos8) | ||||||||||||||
| # quay.io/pypa/manylinux_2_28_x86_64 (centos8) | ||||||||||||||
| # quay.io/pypa/manylinux_2_28_s390x (centos8, requires QEMU binfmt) | ||||||||||||||
| # | ||||||||||||||
| # Usage: | ||||||||||||||
| # packaging/tools/build-release-artifacts.sh [--disable-gssapi] <docker-image> <relative-output-tarball-path.tgz> | ||||||||||||||
| # packaging/tools/build-release-artifacts.sh [--disable-gssapi] [--platform <docker-platform>] <docker-image> <relative-output-tarball-path.tgz> | ||||||||||||||
| # | ||||||||||||||
| # The output path must be a relative path and inside the librdkafka directory | ||||||||||||||
| # structure. | ||||||||||||||
|
|
@@ -42,20 +43,26 @@ else | |||||||||||||
| disable_gssapi="" | ||||||||||||||
| fi | ||||||||||||||
|
|
||||||||||||||
| docker_platform="" | ||||||||||||||
| if [ "$1" = "--platform" ]; then | ||||||||||||||
|
||||||||||||||
| if [ "$1" = "--platform" ]; then | |
| if [ "$1" = "--platform" ]; then | |
| if [ $# -lt 2 ] || [ -z "$2" ]; then | |
| echo "Usage: $0 [--disable-gssapi] [--platform <docker-platform>] <manylinux-docker-image> <output-path.tgz>" | |
| exit 1 | |
| fi |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "librdkafka", | ||
| "version": "2.14.0", | ||
| "version": "2.14.1", | ||
| "dependencies": [ | ||
| { | ||
| "name": "zstd", | ||
|
|
||
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.
The workflow installs QEMU binfmt using
tonistiigi/binfmtwithout a tag or digest, which makes the build non-reproducible and risks sudden CI breakage if the upstream image changes. Pin this image to a specific version tag or digest (similar to how the manylinux images are pinned).