Skip to content
Snippets Groups Projects
Commit d36597f9 authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

adjust CI jobs to Docker Compose

parent 9b8bb615
No related branches found
No related tags found
No related merge requests found
Pipeline #51023 failed
......@@ -35,23 +35,23 @@ ci_frontend:
paths:
- ci_frontend.log
when: always
image: docker:20.10.8
image: docker:24.0.5
services:
- docker:20.10.8-dind
- docker:24.0.5-dind
stage: ci
script:
- docker run --rm $FRONTEND_IMAGE npm run test-ci > ci_frontend.log
- docker compose run --rm mc_frontend npm run test-ci > ci_frontend.log
ci_backend:
artifacts:
paths:
- ci_backend.log
when: always
image: docker:20.10.8
image: docker:24.0.5
services:
- docker:20.10.8-dind
- docker:24.0.5-dind
stage: ci
script:
- docker run --env IS_THIS_A_DOCKER_CONTAINER=Yes --rm --entrypoint="./coverage_backend.sh" $BACKEND_IMAGE > ci_backend.log
- docker compose run --env IS_THIS_A_DOCKER_CONTAINER=Yes --rm --entrypoint="./coverage_backend.sh" mcserver > ci_backend.log
coverage:
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment