Skip to content
Snippets Groups Projects
Commit 2cd5ed17 authored by Johannes Mey's avatar Johannes Mey
Browse files

Update .gitlab-ci.yml

parent ea9b64d7
No related branches found
No related tags found
No related merge requests found
...@@ -2,23 +2,13 @@ stages: ...@@ -2,23 +2,13 @@ stages:
- build - build
- test - test
variables:
# Instruct Testcontainers to use the daemon of DinD.
DOCKER_HOST: "unix:///var/run/docker.sock"
# # Improve performance with overlayfs.
# DOCKER_DRIVER: overlay2
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
TEST_REPORTS: "/builds/OpenLicht/eraser/eraser-base/build/reports/tests/test/"
TEST_LOG: "/builds/OpenLicht/eraser/eraser-base/logs/eraser-test.log"
TESTCONTAINERS_RYUK_DISABLED: "true"
before_script: before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle - export GRADLE_USER_HOME=`pwd`/.gradle
build: build:
image: openjdk:8 image: openjdk:8
tags: tags:
- docker - dockered
stage: build stage: build
script: script:
- ./gradlew --console=plain --build-cache assemble - ./gradlew --console=plain --build-cache assemble
...@@ -32,7 +22,7 @@ build: ...@@ -32,7 +22,7 @@ build:
test: test:
image: openjdk:8 image: openjdk:8
tags: tags:
- docker - dockered
stage: test stage: test
script: script:
- ./gradlew --continue --console=plain check - ./gradlew --continue --console=plain check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment