diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c5fad48eeb38cf98a3ae63cba21088d5e4d9bc3..7f9297890e2074206fff54df1952f1cb331a89dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,12 +19,13 @@ test-backend: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. image: maven:3.9.4-eclipse-temurin-21 services: - - docker/compose:latest + - docker:latest + - docker:dind before_script: - - apt-get update -qy - - apt-get install -y docker-compose + - docker version + - docker compose version - echo 'Run docker compose' - - docker-compose up -d + - docker compose up -d script: - echo 'Running unit tests...' - cd ./sth-backend