Fix deploy config

This commit is contained in:
Norman Maurer 2020-12-22 18:48:22 +01:00
parent 95b96126c3
commit 7bf2ffac35
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,9 @@ services:
build-leak:
image: netty:centos-6-1.8
deploy:
image: netty:centos-6-1.8
test:
image: netty:centos-6-1.8

View File

@ -25,6 +25,15 @@ services:
<<: *common
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io"
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"
test-leak:
<<: *common
command: /bin/bash -cl "./mvnw -Pleak clean install -Dio.netty.testsuite.badHost=netty.io -Dmaven.wagon.http.pool=false"