upgrade ci test step to Java 17

This commit is contained in:
ansgarz 2025-01-22 21:16:33 +01:00
parent ced4f063d7
commit 55ee3569e4
2 changed files with 4 additions and 4 deletions
.gitlab-ci.yml
src/main/resources

View file

@ -45,7 +45,7 @@ variables:
test:
<<: *tag_only
# <<: *tag_only
stage: test
image: docker:24.0.5
services:
@ -57,8 +57,8 @@ test:
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin
script:
- echo "---------- TEST -------------"
- apk update && apk add bash openjdk11 git
- export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
- apk update && apk add bash openjdk17 git
- export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker run --privileged -dit --name provs_test -v /var/run/docker.sock:/var/run/docker.sock $CI_REGISTRY_IMAGE
- docker inspect -f '{{.State.Running}}' provs_test

View file

@ -1 +1 @@
0.39.5-SNAPSHOT
0.39.6-SNAPSHOT