dragoon/.woodpecker.yml

34 lines
741 B
YAML
Raw Permalink Normal View History

2022-05-01 14:25:15 -04:00
pipeline:
2022-05-03 00:13:34 -04:00
test:
image: maven:3-eclipse-temurin-17-alpine
2022-05-03 00:13:34 -04:00
commands:
- apk add lsof
2022-05-03 00:13:34 -04:00
- mvn test
2022-05-01 14:25:15 -04:00
build:
image: maven:3-eclipse-temurin-17-alpine
2022-05-01 14:25:15 -04:00
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-eclipse-temurin-17-alpine
2022-07-17 13:32:58 -04:00
commands:
- apk add rpm
- 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