2023-09-21 20:11:31 +02:00
|
|
|
reference:
|
|
|
|
image: debian:bookworm-slim
|
|
|
|
before_script:
|
|
|
|
- apt-get update
|
|
|
|
- apt-get -y install ca-certificates buildah
|
|
|
|
# switch to iptables legacy, as GitLab CI doesn't support nftables
|
|
|
|
- apt-get -y install --no-install-recommends iptables
|
|
|
|
- update-alternatives --set iptables /usr/sbin/iptables-legacy
|
|
|
|
script:
|
|
|
|
- buildah build --file build.Containerfile --output build .
|
|
|
|
artifacts:
|
|
|
|
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
|
|
|
paths:
|
|
|
|
- build/**
|
|
|
|
|
2023-03-25 21:01:00 +01:00
|
|
|
bullseye-jdk11:
|
2023-03-15 12:56:53 +01:00
|
|
|
image: debian:bullseye-slim
|
2023-04-20 18:35:24 +02:00
|
|
|
before_script:
|
|
|
|
- apt-get update
|
2023-03-29 15:19:35 +02:00
|
|
|
- apt-get -y install openjdk-11-jdk-headless gradle
|
2023-04-20 18:35:24 +02:00
|
|
|
script:
|
2023-09-21 23:24:59 +02:00
|
|
|
- gradle build :bitcoinj-core:publishToMavenLocal :bitcoinj-wallettool:installDist --stacktrace
|
2023-04-20 18:35:24 +02:00
|
|
|
after_script:
|
|
|
|
- gradle --version
|
2023-03-26 00:08:28 +01:00
|
|
|
artifacts:
|
|
|
|
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
|
|
|
paths:
|
|
|
|
- core/build/libs/*.jar
|
2023-03-15 12:56:53 +01:00
|
|
|
|
2023-03-25 21:01:00 +01:00
|
|
|
bookworm-jdk17:
|
2023-03-15 12:56:53 +01:00
|
|
|
image: debian:bookworm-slim
|
2023-04-20 18:35:24 +02:00
|
|
|
before_script:
|
|
|
|
- apt-get update
|
2023-03-29 15:19:35 +02:00
|
|
|
- apt-get -y install openjdk-17-jdk-headless gradle
|
2023-04-20 18:35:24 +02:00
|
|
|
script:
|
2023-09-21 23:24:59 +02:00
|
|
|
- gradle build :bitcoinj-core:publishToMavenLocal :bitcoinj-wallettool:installDist --stacktrace
|
2023-04-20 18:35:24 +02:00
|
|
|
after_script:
|
|
|
|
- gradle --version
|
2023-03-26 00:08:28 +01:00
|
|
|
artifacts:
|
|
|
|
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
|
|
|
paths:
|
|
|
|
- core/build/libs/*.jar
|
2023-04-20 01:19:32 +02:00
|
|
|
|
2023-09-05 17:23:29 +02:00
|
|
|
trixie-jdk21:
|
|
|
|
image: debian:trixie-slim
|
|
|
|
before_script:
|
|
|
|
- apt-get update
|
|
|
|
- apt-get -y install openjdk-21-jdk-headless gradle
|
|
|
|
script:
|
2023-09-21 23:24:59 +02:00
|
|
|
- gradle build :bitcoinj-core:publishToMavenLocal :bitcoinj-wallettool:installDist --stacktrace
|
2023-09-05 17:23:29 +02:00
|
|
|
after_script:
|
|
|
|
- gradle --version
|
|
|
|
artifacts:
|
|
|
|
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
|
|
|
paths:
|
|
|
|
- core/build/libs/*.jar
|
|
|
|
|
2023-04-20 01:19:32 +02:00
|
|
|
sast:
|
|
|
|
stage: test
|
|
|
|
|
|
|
|
include:
|
|
|
|
- template: Security/SAST.gitlab-ci.yml
|