This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/main by this push:
     new 7bd1877f0 [CALCITE-6354] Use gradle docker image when running tests 
using docker-compose
7bd1877f0 is described below

commit 7bd1877f097f025dbadd81451a456345f3575b34
Author: Francis Chuang <[email protected]>
AuthorDate: Fri Apr 5 16:55:09 2024 +1100

    [CALCITE-6354] Use gradle docker image when running tests using 
docker-compose
---
 docker-compose.yml | 2 +-
 docker.sh          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index e994739c8..eaee8fd01 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -50,7 +50,7 @@ services:
       - gradle-cache:/home/gradle/.gradle
 
   test:
-    image: eclipse-temurin:8
+    image: gradle:8.5-jdk8
     working_dir: /src
     command: sh -c "./docker.sh test"
     volumes:
diff --git a/docker.sh b/docker.sh
index a22f2fb55..092a3eec3 100755
--- a/docker.sh
+++ b/docker.sh
@@ -315,7 +315,7 @@ case $1 in
         ;;
 
     test)
-        ./gradlew test
+        gradle test
         ;;
 
     *)

Reply via email to