This is an automated email from the ASF dual-hosted git repository.
comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new 0e44b89ea chore: faster maven mirror (#1447)
0e44b89ea is described below
commit 0e44b89ea28848b5a4b53374d9052c542ee47b31
Author: Oleks V <[email protected]>
AuthorDate: Wed Feb 26 09:54:44 2025 -0800
chore: faster maven mirror (#1447)
Thanks for the review
---
.github/workflows/docker-publish.yml | 1 +
kube/Dockerfile | 3 +++
2 files changed, 4 insertions(+)
diff --git a/.github/workflows/docker-publish.yml
b/.github/workflows/docker-publish.yml
index 6f6e202c1..39741d688 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -52,6 +52,7 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
+ cache: 'maven'
- name: Extract Comet version
id: extract_version
run: |
diff --git a/kube/Dockerfile b/kube/Dockerfile
index 19f12137b..1a6f30dd9 100644
--- a/kube/Dockerfile
+++ b/kube/Dockerfile
@@ -55,6 +55,9 @@ COPY .scalafix.conf /comet/.scalafix.conf
COPY Makefile /comet/Makefile
COPY pom.xml /comet/pom.xml
+RUN mkdir -p /root/.m2 && \
+ echo
'<settings><mirrors><mirror><id>central</id><mirrorOf>central</mirrorOf><url>https://repo1.maven.org/maven2</url></mirror></mirrors></settings>'
> /root/.m2/settings.xml
+
# Pick the JDK instead of JRE to compile Comet
RUN cd /comet \
&& JAVA_HOME=$(readlink -f $(which javac) | sed "s/\/bin\/javac//") make
release-nogit PROFILES="-Pspark-$SPARK_VERSION -Pscala-$SCALA_VERSION"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]