Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Real Time
Streams
Stream Admin Service
Commits
666df21b
Commit
666df21b
authored
Oct 15, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
666df21b
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment