Allow to test with boringssl-static and drop into shell (#7980)

Motivation:

We also need to run our tests while using boringssl-static to ensure everything works when using it. Beside this its sometimes useful to be able to just get a shell and so interactive work in the docker instance.

Modifications:

- Add configs for shell
- Add configs for testing with boringssl-static
- Ensure we not share .m2 when running tests

Result:

More complete docker setup.
This commit is contained in:
Norman Maurer 2018-05-29 11:09:22 +02:00 committed by GitHub
parent 2e587f75cb
commit 0c6f077c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 62 additions and 2 deletions

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-6-1.10
test-boringssl-static:
image: netty:centos-6-1.10
shell:
image: netty:centos-6-1.10

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-6-1.11
test-boringssl-static:
image: netty:centos-6-1.11
shell:
image: netty:centos-6-1.11

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-6-1.8
test-boringssl-static:
image: netty:centos-6-1.8
shell:
image: netty:centos-6-1.8

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-6-1.9
test-boringssl-static:
image: netty:centos-6-1.9
shell:
image: netty:centos-6-1.9

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-7-1.10
test-boringssl-static:
image: netty:centos-7-1.10
shell:
image: netty:centos-7-1.10

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-7-1.11
test-boringssl-static:
image: netty:centos-7-1.11
shell:
image: netty:centos-7-1.11

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-7-1.8
test-boringssl-static:
image: netty:centos-7-1.8
shell:
image: netty:centos-7-1.8

View File

@ -11,3 +11,9 @@ services:
test:
image: netty:centos-7-1.9
test-boringssl-static:
image: netty:centos-7-1.9
shell:
image: netty:centos-7-1.9

View File

@ -13,11 +13,23 @@ services:
depends_on: [runtime-setup]
volumes:
- ~/.ssh:/root/.ssh
- ~/.m2:/root/.m2
- ~/.gnupg:/root/.gnupg
- ..:/code
working_dir: /code
test:
<<: *common
command: /bin/bash -cl "./mvnw clean package -Dio.netty.testsuite.badHost=netty.io -DskipOsgiTestsuite=true"
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io"
test-boringssl-static:
<<: *common
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io -Dtcnative.artifactId=netty-tcnative-boringssl-static"
shell:
<<: *common
volumes:
- ~/.ssh:/root/.ssh
- ~/.gnupg:/root/.gnupg
- ..:/code
- ~/.m2:/root/.m2
entrypoint: /bin/bash