diff --git a/ci/docker-compose.yml b/ci/docker-compose.yml index d0cdbe4af816..26a51f4f0c9e 100644 --- a/ci/docker-compose.yml +++ b/ci/docker-compose.yml @@ -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: diff --git a/ci/scripts/release.sh b/ci/scripts/release.sh index b222e49c0826..39b4c6e4eead 100755 --- a/ci/scripts/release.sh +++ b/ci/scripts/release.sh @@ -4,6 +4,9 @@ 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 @@ -11,7 +14,7 @@ if [ "${BUILDKITE_SOURCE}" != "schedule" ] && [ "${BUILDKITE_SOURCE}" != "webhoo 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" diff --git a/ci/workflows/docker.yml b/ci/workflows/docker.yml index 3fe1cb5db67e..722e64f14fa7 100644 --- a/ci/workflows/docker.yml +++ b/ci/workflows/docker.yml @@ -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"