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:
parent
2e587f75cb
commit
0c6f077c18
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.10
|
image: netty:centos-6-1.10
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-6-1.10
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-6-1.10
|
||||||
|
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.11
|
image: netty:centos-6-1.11
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-6-1.11
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-6-1.11
|
||||||
|
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.8
|
image: netty:centos-6-1.8
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-6-1.8
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-6-1.8
|
||||||
|
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.9
|
image: netty:centos-6-1.9
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-6-1.9
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-6-1.9
|
||||||
|
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.10
|
image: netty:centos-7-1.10
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-7-1.10
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-7-1.10
|
||||||
|
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.11
|
image: netty:centos-7-1.11
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-7-1.11
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-7-1.11
|
||||||
|
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.8
|
image: netty:centos-7-1.8
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-7-1.8
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-7-1.8
|
||||||
|
@ -11,3 +11,9 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.9
|
image: netty:centos-7-1.9
|
||||||
|
|
||||||
|
test-boringssl-static:
|
||||||
|
image: netty:centos-7-1.9
|
||||||
|
|
||||||
|
shell:
|
||||||
|
image: netty:centos-7-1.9
|
||||||
|
@ -13,11 +13,23 @@ services:
|
|||||||
depends_on: [runtime-setup]
|
depends_on: [runtime-setup]
|
||||||
volumes:
|
volumes:
|
||||||
- ~/.ssh:/root/.ssh
|
- ~/.ssh:/root/.ssh
|
||||||
- ~/.m2:/root/.m2
|
|
||||||
- ~/.gnupg:/root/.gnupg
|
- ~/.gnupg:/root/.gnupg
|
||||||
- ..:/code
|
- ..:/code
|
||||||
working_dir: /code
|
working_dir: /code
|
||||||
|
|
||||||
test:
|
test:
|
||||||
<<: *common
|
<<: *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
|
||||||
|
Loading…
Reference in New Issue
Block a user