dragoon/.woodpecker.yml
Gregory Ballantine 1189f4b61c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Changed dnf commands to apt for the new image
2023-01-15 17:07:25 -05:00

34 lines
734 B
YAML

pipeline:
test:
image: maven:3-eclipse-temurin-17
commands:
- apt install -y lsof
- mvn test
build:
image: maven:3-eclipse-temurin-17
commands:
- mvn clean compile assembly:single
package:
image: maven:3-eclipse-temurin-17
commands:
- apt install -y rpm
- mvn clean compile package -Dmaven.test.skip
when:
event: tag
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:
- target/dragoon-*.jar
- target/dragoon-*.deb
- target/rpm/dragoon/RPMS/noarch/dragoon-*.rpm
when:
event: tag