From 3d99768d41470539dc8268fec1346217e5217c4f Mon Sep 17 00:00:00 2001 From: Dylan Chen Date: Thu, 12 Oct 2023 12:02:21 +0800 Subject: [PATCH] no build rust for docker --- ci/scripts/release.sh | 2 +- docker/Dockerfile | 2 +- docker/Dockerfile.hdfs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/scripts/release.sh b/ci/scripts/release.sh index 9852d48e0ba5..fee45e6afc4f 100755 --- a/ci/scripts/release.sh +++ b/ci/scripts/release.sh @@ -87,7 +87,7 @@ if [[ -n "${BUILDKITE_TAG}" ]]; then gh release upload "${BUILDKITE_TAG}" risectl-"${BUILDKITE_TAG}"-x86_64-unknown-linux.tar.gz echo "--- Release build and upload risingwave connector node jar asset" - cd ${REPO_ROOT}/java && mvn -B package -Dmaven.test.skip=true -Djava.binding.release=true + cd ${REPO_ROOT}/java && mvn -B package -Dmaven.test.skip=true -Dno-build-rust cd connector-node/assembly/target && mv risingwave-connector-1.0.0.tar.gz risingwave-connector-"${BUILDKITE_TAG}".tar.gz gh release upload "${BUILDKITE_TAG}" risingwave-connector-"${BUILDKITE_TAG}".tar.gz fi diff --git a/docker/Dockerfile b/docker/Dockerfile index cb86657957b7..ba0c82972a78 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -107,7 +107,7 @@ RUN mvn dependency:go-offline --fail-never # Besides, rust-maven-plugin sets --target-dir, so the dependencies are built twice. How to dedup? COPY ./ /risingwave -RUN mvn -B package -Dmaven.test.skip=true -Djava.binding.release=true && \ +RUN mvn -B package -Dmaven.test.skip=true -Dno-build-rust && \ mkdir -p /risingwave/bin/connector-node && \ tar -zxvf /risingwave/java/connector-node/assembly/target/risingwave-connector-1.0.0.tar.gz -C /risingwave/bin/connector-node diff --git a/docker/Dockerfile.hdfs b/docker/Dockerfile.hdfs index b23c350038b8..e8dd1988bd6f 100644 --- a/docker/Dockerfile.hdfs +++ b/docker/Dockerfile.hdfs @@ -52,7 +52,7 @@ RUN cargo fetch && \ chmod +x /risingwave/bin/jeprof && \ mkdir -p /risingwave/lib && cargo clean -RUN cd /risingwave/java && mvn -B package -Dmaven.test.skip=true -Djava.binding.release=true && \ +RUN cd /risingwave/java && mvn -B package -Dmaven.test.skip=true -Dno-build-rust && \ mkdir -p /risingwave/bin/connector-node && \ tar -zxvf /risingwave/java/connector-node/assembly/target/risingwave-connector-1.0.0.tar.gz -C /risingwave/bin/connector-node