Skip to content
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

fix(ci): fix openssl build error for nightly binary #12198

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ services:
- ..:/risingwave

release-env:
# build binaries on a earlier Linux distribution (therefore with earlier version GLIBC)
# See https://github.com/risingwavelabs/risingwave/issues/4556 for more details
#
# GLIBC versions on some systems:
# Amazon Linux 2: 2.26 (EOL 2025-06-30)
# AL2023: 2.34
# Ubuntu 18.04: 2.27 (Already EOL 2023-05-31)
# Ubuntu 20.04: 2.31
#
# manylinux2014: CentOS 7 (EOL 2024-06-30), GLIBC 2.17
image: quay.io/pypa/manylinux2014_x86_64
working_dir: /mnt
volumes:
Expand Down
5 changes: 4 additions & 1 deletion ci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
set -euo pipefail

REPO_ROOT=${PWD}
BUILDKITE_SOURCE=""
BINARY_NAME=xxtest
BUILDKITE_TAG=""

echo "--- Check env"
if [ "${BUILDKITE_SOURCE}" != "schedule" ] && [ "${BUILDKITE_SOURCE}" != "webhook" ] && [[ -z "${BINARY_NAME+x}" ]]; then
exit 0
fi

echo "--- Install java and maven"
yum install -y java-11-openjdk wget python3 cyrus-sasl-devel
yum install -y java-11-openjdk wget python3 cyrus-sasl-devel perl-IPC-Cmd
pip3 install toml-cli
wget https://ci-deps-dist.s3.amazonaws.com/apache-maven-3.9.3-bin.tar.gz && tar -zxvf apache-maven-3.9.3-bin.tar.gz
export PATH="${REPO_ROOT}/apache-maven-3.9.3/bin:$PATH"
Expand Down
72 changes: 36 additions & 36 deletions ci/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,44 @@ auto-retry: &auto-retry
limit: 3

steps:
- label: "docker-build-push: amd64"
command: "ci/scripts/docker.sh"
key: "build-amd64"
plugins:
- seek-oss/aws-sm#v2.3.1:
env:
GHCR_USERNAME: ghcr-username
GHCR_TOKEN: ghcr-token
DOCKER_TOKEN: docker-token
GITHUB_TOKEN: github-token
retry: *auto-retry
# - label: "docker-build-push: amd64"
# command: "ci/scripts/docker.sh"
# key: "build-amd64"
# plugins:
# - seek-oss/aws-sm#v2.3.1:
# env:
# GHCR_USERNAME: ghcr-username
# GHCR_TOKEN: ghcr-token
# DOCKER_TOKEN: docker-token
# GITHUB_TOKEN: github-token
# retry: *auto-retry

- label: "docker-build-push: aarch64"
command: "ci/scripts/docker.sh"
key: "build-aarch64"
plugins:
- seek-oss/aws-sm#v2.3.1:
env:
GHCR_USERNAME: ghcr-username
GHCR_TOKEN: ghcr-token
DOCKER_TOKEN: docker-token
GITHUB_TOKEN: github-token
agents:
queue: "linux-arm64"
retry: *auto-retry
# - label: "docker-build-push: aarch64"
# command: "ci/scripts/docker.sh"
# key: "build-aarch64"
# plugins:
# - seek-oss/aws-sm#v2.3.1:
# env:
# GHCR_USERNAME: ghcr-username
# GHCR_TOKEN: ghcr-token
# DOCKER_TOKEN: docker-token
# GITHUB_TOKEN: github-token
# agents:
# queue: "linux-arm64"
# retry: *auto-retry

- label: "multi-arch-image-create-push"
command: "ci/scripts/multi-arch-docker.sh"
depends_on:
- "build-amd64"
- "build-aarch64"
plugins:
- seek-oss/aws-sm#v2.3.1:
env:
GHCR_USERNAME: ghcr-username
GHCR_TOKEN: ghcr-token
DOCKER_TOKEN: docker-token
retry: *auto-retry
# - label: "multi-arch-image-create-push"
# command: "ci/scripts/multi-arch-docker.sh"
# depends_on:
# - "build-amd64"
# - "build-aarch64"
# plugins:
# - seek-oss/aws-sm#v2.3.1:
# env:
# GHCR_USERNAME: ghcr-username
# GHCR_TOKEN: ghcr-token
# DOCKER_TOKEN: docker-token
# retry: *auto-retry

- label: "pre build binary"
command: "ci/scripts/release.sh"
Expand Down
Loading