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:
|
2020-12-22 20:43:35 +01:00
|
|
|
- ~/.ssh:/root/.ssh
|
|
|
|
- ~/.gnupg:/root/.gnupg
|
|
|
|
- ~/.m2:/root/.m2
|
|
|
|
- ..:/code
|
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
|
|
|
|
command: /bin/bash -cl "./mvnw clean deploy -DskipTests=true"
|
|
|
|
|
2020-12-24 12:00:08 +01:00
|
|
|
stage-snapshot:
|
|
|
|
<<: *common
|
|
|
|
volumes:
|
|
|
|
- ~/.ssh:/root/.ssh
|
|
|
|
- ~/.gnupg:/root/.gnupg
|
|
|
|
- ~/.m2:/root/.m2
|
|
|
|
- ~/local-staging:/root/local-staging
|
|
|
|
- ..:/code
|
|
|
|
command: /bin/bash -cl "./mvnw clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DaltStagingDirectory=/root/local-staging -DskipRemoteStaging=true -DskipTests=true"
|
|
|
|
|
2020-12-23 19:11:04 +01:00
|
|
|
build-boringssl-static:
|
2018-09-27 09:13:28 +02:00
|
|
|
<<: *common
|
2020-12-23 19:11:04 +01:00
|
|
|
command: /bin/bash -cl "./mvnw -P boringssl clean install -Dio.netty.testsuite.badHost=netty.io -Dxml.skip=true"
|
2018-09-27 09:13:28 +02:00
|
|
|
|
2020-12-23 19:11:04 +01:00
|
|
|
build-leak-boringssl-static:
|
2018-05-28 10:31:48 +02:00
|
|
|
<<: *common
|
2020-12-23 19:11:04 +01:00
|
|
|
command: /bin/bash -cl "./mvnw -Pboringssl,leak clean install -Dio.netty.testsuite.badHost=netty.io -Dxml.skip=true"
|
2018-05-29 11:09:22 +02:00
|
|
|
|
|
|
|
shell:
|
|
|
|
<<: *common
|
2020-12-07 12:14:23 +01:00
|
|
|
entrypoint: /bin/bash
|