2020-12-22 20:43:35 +01:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
|
|
|
|
cross-compile-aarch64-runtime-setup:
|
|
|
|
image: netty:cross_compile_aarch64
|
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: docker/Dockerfile.cross_compile_aarch64
|
|
|
|
args:
|
2021-03-25 09:32:57 +01:00
|
|
|
gcc_version: "10.2-2020.11"
|
2020-12-22 20:43:35 +01:00
|
|
|
java_version: "adopt@1.8.0-272"
|
|
|
|
|
|
|
|
cross-compile-aarch64-common: &cross-compile-aarch64-common
|
|
|
|
depends_on: [ cross-compile-aarch64-runtime-setup ]
|
|
|
|
image: netty:cross_compile_aarch64
|
|
|
|
volumes:
|
|
|
|
- ~/.ssh:/root/.ssh
|
|
|
|
- ~/.gnupg:/root/.gnupg
|
|
|
|
- ~/.m2:/root/.m2
|
|
|
|
- ..:/code
|
|
|
|
working_dir: /code
|
|
|
|
|
|
|
|
cross-compile-aarch64-deploy:
|
|
|
|
<<: *cross-compile-aarch64-common
|
2021-05-07 13:40:31 +02:00
|
|
|
command: /bin/bash -cl "./mvnw -Plinux-aarch64 -pl transport-native-unix-common,transport-native-epoll -am clean deploy -DskipTests=true -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120"
|
2020-12-24 12:00:08 +01:00
|
|
|
|
|
|
|
cross-compile-aarch64-stage-snapshot:
|
|
|
|
<<: *cross-compile-aarch64-common
|
|
|
|
volumes:
|
|
|
|
- ~/.ssh:/root/.ssh
|
|
|
|
- ~/.gnupg:/root/.gnupg
|
|
|
|
- ~/.m2:/root/.m2
|
|
|
|
- ~/local-staging:/root/local-staging
|
|
|
|
- ..:/code
|
2021-05-07 13:40:31 +02:00
|
|
|
command: /bin/bash -cl "./mvnw -Plinux-aarch64 -pl transport-native-unix-common,transport-native-epoll -am clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DaltStagingDirectory=/root/local-staging -DskipRemoteStaging=true -DskipTests=true -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120"
|
2020-12-22 20:43:35 +01:00
|
|
|
|
2021-02-11 21:35:36 +01:00
|
|
|
cross-compile-aarch64-stage-release:
|
|
|
|
<<: *cross-compile-aarch64-common
|
|
|
|
environment:
|
|
|
|
- GPG_KEYNAME
|
|
|
|
- GPG_PASSPHRASE
|
|
|
|
- GPG_PRIVATE_KEY
|
|
|
|
volumes:
|
|
|
|
- ~/.ssh:/root/.ssh
|
|
|
|
- ~/.m2:/root/.m2
|
|
|
|
- ~/local-staging:/root/local-staging
|
|
|
|
- ..:/code
|
2021-05-07 13:40:31 +02:00
|
|
|
command: /bin/bash -cl "cat <(echo -e \"${GPG_PRIVATE_KEY}\") | gpg --batch --import && ./mvnw -B -Plinux-aarch64 -pl transport-native-unix-common,transport-native-epoll -am clean javadoc:jar package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DaltStagingDirectory=/root/local-staging -DskipRemoteStaging=true -DskipTests=true -Dgpg.passphrase=${GPG_PASSPHRASE} -Dgpg.keyname=${GPG_KEYNAME} -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120"
|
2021-02-11 21:35:36 +01:00
|
|
|
|
2020-12-22 20:43:35 +01:00
|
|
|
cross-compile-aarch64-shell:
|
|
|
|
<<: *cross-compile-aarch64-common
|
|
|
|
entrypoint: /bin/bash
|
|
|
|
|
|
|
|
cross-compile-aarch64-build:
|
|
|
|
<<: *cross-compile-aarch64-common
|
2021-05-07 13:40:31 +02:00
|
|
|
command: /bin/bash -cl "./mvnw -pl transport-native-unix-common,transport-native-epoll -am clean package -Plinux-aarch64 -DskipTests=true -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120"
|