2018-05-28 10:31:48 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
runtime-setup:
|
|
|
|
image: netty:default
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.centos
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-09-27 09:13:28 +02:00
|
|
|
test-leak:
|
|
|
|
<<: *common
|
|
|
|
command: /bin/bash -cl "./mvnw -Pleak clean install -Dio.netty.testsuite.badHost=netty.io"
|
|
|
|
|
2018-05-28 10:31:48 +02:00
|
|
|
test:
|
|
|
|
<<: *common
|
2018-05-29 11:09:22 +02:00
|
|
|
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io"
|
|
|
|
|
|
|
|
test-boringssl-static:
|
|
|
|
<<: *common
|
2018-10-28 10:27:34 +01:00
|
|
|
command: /bin/bash -cl "./mvnw -P boringssl clean install -Dio.netty.testsuite.badHost=netty.io -Dxml.skip=true"
|
2018-05-29 11:09:22 +02:00
|
|
|
|
|
|
|
shell:
|
|
|
|
<<: *common
|
2018-12-07 05:43:06 +01:00
|
|
|
environment:
|
|
|
|
- SANOTYPE_USER
|
|
|
|
- SANOTYPE_PASSWORD
|
2018-05-29 11:09:22 +02:00
|
|
|
volumes:
|
2019-08-13 10:27:21 +02:00
|
|
|
- ~/.ssh:/root/.ssh:delegated
|
|
|
|
- ~/.gnupg:/root/.gnupg:delegated
|
|
|
|
- ..:/code:delegated
|
|
|
|
- ~/.m2:/root/.m2:delegated
|
2018-05-29 11:09:22 +02:00
|
|
|
entrypoint: /bin/bash
|
2020-04-23 13:58:08 +02:00
|
|
|
|
|
|
|
cross-compile-aarch64-runtime-setup:
|
|
|
|
image: netty:cross_compile_aarch64
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.cross_compile_aarch64
|
|
|
|
args:
|
|
|
|
gcc_version : "4.9-2016.02"
|
|
|
|
|
|
|
|
cross-compile-aarch64:
|
|
|
|
image: netty:cross_compile_aarch64
|
|
|
|
depends_on: [cross-compile-aarch64-runtime-setup]
|
|
|
|
volumes:
|
|
|
|
- ~/.ssh:/root/.ssh:delegated
|
|
|
|
- ~/.gnupg:/root/.gnupg:delegated
|
|
|
|
- ..:/code:delegated
|
|
|
|
- ~/.m2:/root/.m2:delegated
|
|
|
|
# Since we are cross compiling netty-transport-native-epoll as aarch64 which cannot be loaded on x86_64, we add `skipTests` here to skip the test.
|
|
|
|
command: /bin/bash -cl "pushd ./transport-native-unix-common && ../mvnw clean install -Plinux-aarch64 && popd && pushd ./transport-native-epoll && ../mvnw clean install -Plinux-aarch64 -DskipTests && popd"
|
|
|
|
working_dir: /code
|