From 0fe830985b14549ecc7ee01b5c24126f22ba4161 Mon Sep 17 00:00:00 2001 From: Nicolas Laval Date: Sun, 24 Dec 2023 10:43:32 +0100 Subject: [PATCH 1/2] Update Trevas version --- Dockerfile | 2 +- pom.xml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c11dcb..b99b3b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM inseefrlab/onyxia-jupyter-pyspark:py3.10.9-spark3.3.1 +FROM inseefrlab/onyxia-jupyter-pyspark:py3.11.6-spark3.5.0 # Allows the kernel to load the Spark and Hadoop config. ENV CLASSPATH_PREFIX "/opt/hadoop/etc/hadoop:/opt/spark/conf" diff --git a/pom.xml b/pom.xml index 6e49a2e..6f5e888 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ Jupyter notebook providing VTL support through Trevas engine trevas-jupyter fr.insee - 0.4.2 + 0.5.0 @@ -18,9 +18,9 @@ - 11 + 17 UTF-8 - 1.1.1 + 1.2.0 @@ -98,7 +98,7 @@ org.apache.spark spark-kubernetes_2.12 - 3.3.1 + 3.5.0 @@ -182,12 +182,12 @@ org.apache.maven.plugins maven-compiler-plugin - 3.10.1 + 3.12.0 - ${jdk.version} - ${jdk.version} - ${jdk.version} - ${jdk.version} + ${java.version} + ${java.version} + ${java.version} + ${java.version} From df58e028ce43fb93b9c184523a3f13b009e83db6 Mon Sep 17 00:00:00 2001 From: Nicolas Laval Date: Sun, 24 Dec 2023 10:51:24 +0100 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a693eb..a41e419 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up Maven Central Repository + uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 + distribution: "adopt" - name: Set current version run: mvn -B versions:set -DnewVersion=${GITHUB_REF##*/} -DprocessAllModules -DgenerateBackupPoms=false - uses: s4u/maven-settings-action@v2.8.0