2018-05-28 10:31:48 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
runtime-setup:
|
|
|
|
image: netty:default
|
|
|
|
build:
|
|
|
|
context: .
|
2020-12-22 18:33:14 +01:00
|
|
|
dockerfile: Dockerfile.centos6
|
2018-05-28 10:31:48 +02:00
|
|
|
|
|
|
|
common: &common
|
|
|
|
image: netty:default
|
|
|
|
depends_on: [runtime-setup]
|
|
|
|
volumes:
|
2019-08-13 10:27:21 +02:00
|
|
|
- ~/.ssh:/root/.ssh:delegated
|
|
|
|
- ~/.gnupg:/root/.gnupg:delegated
|
|
|
|
- ..:/code:delegated
|
2018-05-28 10:31:48 +02:00
|
|
|
working_dir: /code
|
|
|
|
|
2020-12-22 18:33:14 +01:00
|
|
|
build-leak:
|
|
|
|
<<: *common
|
|
|
|
command: /bin/bash -cl "./mvnw -Pleak clean install -Dio.netty.testsuite.badHost=netty.io"
|
|
|
|
|
|
|
|
build:
|
|
|
|
<<: *common
|
|
|
|
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io"
|
|
|
|
|
2020-12-22 18:48:22 +01:00
|
|
|
deploy:
|
|
|
|
<<: *common
|
|
|
|
volumes:
|
|
|
|
- ~/.ssh:/root/.ssh
|
|
|
|
- ~/.gnupg:/root/.gnupg
|
|
|
|
- ~/.m2/settings.xml:/root/.m2/settings.xml
|
|
|
|
- ..:/code
|
|
|
|
command: /bin/bash -cl "./mvnw clean deploy -DskipTests=true"
|
|
|
|
|
2018-09-27 09:13:28 +02:00
|
|
|
test-leak:
|
|
|
|
<<: *common
|
2020-09-09 17:07:26 +02:00
|
|
|
command: /bin/bash -cl "./mvnw -Pleak clean install -Dio.netty.testsuite.badHost=netty.io -Dmaven.wagon.http.pool=false"
|
2018-09-27 09:13:28 +02:00
|
|
|
|
2018-05-28 10:31:48 +02:00
|
|
|
test:
|
|
|
|
<<: *common
|
2020-09-09 17:07:26 +02:00
|
|
|
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io -Dmaven.wagon.http.pool=false"
|
2018-05-29 11:09:22 +02:00
|
|
|
|
|
|
|
test-boringssl-static:
|
|
|
|
<<: *common
|
2020-09-09 17:07:26 +02:00
|
|
|
command: /bin/bash -cl "./mvnw -P boringssl clean install -Dio.netty.testsuite.badHost=netty.io -Dxml.skip=true -Dmaven.wagon.http.pool=false"
|
2018-05-29 11:09:22 +02:00
|
|
|
|
|
|
|
shell:
|
|
|
|
<<: *common
|
2020-12-07 12:14:23 +01:00
|
|
|
volumes:
|
|
|
|
- ~/.ssh:/root/.ssh:delegated
|
|
|
|
- ~/.gnupg:/root/.gnupg:delegated
|
|
|
|
- ..:/code:delegated
|
|
|
|
- ~/.m2:/root/.m2:delegated
|
|
|
|
entrypoint: /bin/bash
|