0af6031110
Motivation: We should also deploy snapshots for our cross compiled native jars. Modifications: - Add job and docker files for deploying cross compiled native jars - Ensure we map the maven cache into our docker containers Result: Deploy aarch64 jars and re-use cache
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: netty:default
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.centos6
|
|
|
|
common: &common
|
|
image: netty:default
|
|
depends_on: [runtime-setup]
|
|
volumes:
|
|
- ~/.ssh:/root/.ssh
|
|
- ~/.gnupg:/root/.gnupg
|
|
- ~/.m2:/root/.m2
|
|
- ..:/code
|
|
working_dir: /code
|
|
|
|
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"
|
|
|
|
deploy:
|
|
<<: *common
|
|
command: /bin/bash -cl "./mvnw clean deploy -DskipTests=true"
|
|
|
|
test-leak:
|
|
<<: *common
|
|
command: /bin/bash -cl "./mvnw -Pleak clean install -Dio.netty.testsuite.badHost=netty.io -Dmaven.wagon.http.pool=false"
|
|
|
|
test:
|
|
<<: *common
|
|
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io -Dmaven.wagon.http.pool=false"
|
|
|
|
test-boringssl-static:
|
|
<<: *common
|
|
command: /bin/bash -cl "./mvnw -P boringssl clean install -Dio.netty.testsuite.badHost=netty.io -Dxml.skip=true -Dmaven.wagon.http.pool=false"
|
|
|
|
shell:
|
|
<<: *common
|
|
entrypoint: /bin/bash
|