Commit 666df21b authored by Stephen Nimmo's avatar Stephen Nimmo
Browse files

Added gitlab-ci definition for running testcontainer in gitlab

parent 7b1cf89f
Pipeline #72172 failed with stage
in 3 minutes and 6 seconds
# DinD service is required for Testcontainers
services:
- name: docker:dind
# explicitly disable tls to avoid docker startup interruption
command: ["--tls=false"]
variables:
# Instruct Testcontainers to use the daemon of DinD.
DOCKER_HOST: "tcp://docker:2375"
# Instruct Docker not to start over TLS.
DOCKER_TLS_CERTDIR: ""
# Improve performance with overlayfs.
DOCKER_DRIVER: overlay2
services:
- name: docker:dind
test:
image: maven:latest
stage: test
script: mvn --quiet test
\ No newline at end of file
image: openjdk:11
script: ./mvnw test
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment