2022-05-01 14:25:15 -04:00
|
|
|
pipeline:
|
2022-05-03 00:13:34 -04:00
|
|
|
test:
|
|
|
|
image: maven:3-jdk-11
|
|
|
|
commands:
|
2022-05-20 08:08:40 -04:00
|
|
|
- apt update && apt install -y lsof
|
2022-05-03 00:13:34 -04:00
|
|
|
- mvn test
|
|
|
|
|
2022-05-01 14:25:15 -04:00
|
|
|
build:
|
|
|
|
image: maven:3-jdk-11
|
|
|
|
commands:
|
2022-05-02 23:50:35 -04:00
|
|
|
- mvn clean compile assembly:single
|
2022-05-01 14:25:15 -04:00
|
|
|
|
2022-07-17 13:32:58 -04:00
|
|
|
package:
|
|
|
|
image: maven:3-jdk-11
|
|
|
|
commands:
|
|
|
|
- apt update && apt install -y rpm
|
2022-07-17 14:14:55 -04:00
|
|
|
- mvn clean compile package -Dmaven.test.skip
|
2022-07-17 13:32:58 -04:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
2022-05-01 14:25:15 -04:00
|
|
|
gitea_release:
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_api_key
|
|
|
|
base_url: https://git.metaunix.net
|
|
|
|
title: "${CI_COMMIT_TAG}"
|
|
|
|
files:
|
2022-07-17 13:32:58 -04:00
|
|
|
- target/dragoon-*.jar
|
|
|
|
- target/dragoon-*.deb
|
|
|
|
- target/rpm/dragoon/RPMS/noarch/dragoon-*.rpm
|
2022-05-01 14:25:15 -04:00
|
|
|
when:
|
|
|
|
event: tag
|