From 9600cc144963193b97cb007796df971cac370208 Mon Sep 17 00:00:00 2001 From: Luca Roffia Date: Fri, 6 Dec 2024 16:17:10 +0100 Subject: [PATCH 1/4] Update main.yml changed Java version to 23 --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc877a51..20619b9d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 13 + - name: Set up JDK 23 uses: actions/setup-java@v2 with: - java-version: '13' + java-version: '23' distribution: 'adopt' cache: maven - name: Build with Maven @@ -39,10 +39,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 13 + - name: Set up JDK 23 uses: actions/setup-java@v2 with: - java-version: '13' + java-version: '23' distribution: 'adopt' cache: maven - name: wait for blazegraph @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: - java-version: '13' + java-version: '23' distribution: 'adopt' cache: maven - name: Publish package From 9b52e89c652290ca03093e79f22986f1d035ce37 Mon Sep 17 00:00:00 2001 From: Luca Roffia Date: Fri, 6 Dec 2024 16:22:25 +0100 Subject: [PATCH 2/4] Update main.yml Deprecation notice: v1 and v2 of the artifact actions --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20619b9d..34a6ddf9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,9 +17,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 23 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '23' distribution: 'adopt' @@ -38,9 +38,9 @@ jobs: - 9999:9999 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 23 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '23' distribution: 'adopt' @@ -76,7 +76,7 @@ jobs: - name: verify run: mvn verify -e -Dlog4j2.level=trace - name: publish Engine log - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: engine-log @@ -92,8 +92,8 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '23' distribution: 'adopt' @@ -110,16 +110,16 @@ jobs: - build - test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v4 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v4 with: username: ${{secrets.DOCKERHUB_USERNAME}} password: ${{secrets.DOCKERHUB_TOKEN}} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: push: true tags: vaimee/sepa:${{github.ref_name}},vaimee/sepa:latest From 3397cec1f59b7f83a1072d0feba0c84a856de75d Mon Sep 17 00:00:00 2001 From: Luca Roffia Date: Fri, 6 Dec 2024 16:34:23 +0100 Subject: [PATCH 3/4] Update main.yml --- .github/workflows/main.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 34a6ddf9..5ede6124 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,15 +56,16 @@ jobs: run: | mvn package cd engine/target - mv endpoints/endpoint-blazegraph.jpar endpoint.jpar - echo launching engine with this configuration - echo SPARQL ENDPOINT - cat endpoint.jpar - echo ENGINE PROPERTIES - cat engine.jpar - echo LOG4J - cat log4j2-debug.xml - java -Dlog4j.configurationFile=./log4j2-debug.xml -jar engine-v0.15.0.jar -engine engine.jpar -endpoint endpoint.jpar > log.txt & + java -Dlog4j.configurationFile=./log4j2-debug.xml -jar engine-1.0.0-SNAPSHOT.jar > log.txt & + # mv endpoints/endpoint-blazegraph.jpar endpoint.jpar + #echo launching engine with this configuration + # echo SPARQL ENDPOINT + # cat endpoint.jpar + # echo ENGINE PROPERTIES + # cat engine.jpar + # cat log4j2-debug.xml + # echo LOG4J + # java -Dlog4j.configurationFile=./log4j2-debug.xml -jar engine-1.0.0-SNAPSHOT.jar -engine engine.jpar -endpoint endpoint.jpar > log.txt & shell: bash - name: wait for SEPA engine uses: nev7n/wait_for_response@v1 From 501374420c4851cda137a427790bb2a73020e540 Mon Sep 17 00:00:00 2001 From: Luca Roffia Date: Fri, 6 Dec 2024 16:44:32 +0100 Subject: [PATCH 4/4] Update main.yml removed Blazegraph and clean --- .github/workflows/main.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5ede6124..a059385e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,14 +29,7 @@ jobs: test: runs-on: ubuntu-latest - needs: build - - services: - blazegraph: - image: nawer/blazegraph:2.1.5 - ports: - - 9999:9999 - + needs: build steps: - uses: actions/checkout@v4 - name: Set up JDK 23 @@ -45,27 +38,11 @@ jobs: java-version: '23' distribution: 'adopt' cache: maven - - name: wait for blazegraph - uses: nev7n/wait_for_response@v1 - with: - url: 'http://localhost:9999/blazegraph/namespace/kb/sparql' - responseCode: 200 - timeout: 20000 - interval: 500 - name: package engine and launch run: | mvn package cd engine/target java -Dlog4j.configurationFile=./log4j2-debug.xml -jar engine-1.0.0-SNAPSHOT.jar > log.txt & - # mv endpoints/endpoint-blazegraph.jpar endpoint.jpar - #echo launching engine with this configuration - # echo SPARQL ENDPOINT - # cat endpoint.jpar - # echo ENGINE PROPERTIES - # cat engine.jpar - # cat log4j2-debug.xml - # echo LOG4J - # java -Dlog4j.configurationFile=./log4j2-debug.xml -jar engine-1.0.0-SNAPSHOT.jar -engine engine.jpar -endpoint endpoint.jpar > log.txt & shell: bash - name: wait for SEPA engine uses: nev7n/wait_for_response@v1