Compare commits

..

No commits in common. "1d69d838cc83b8c05e3be4ea69f3de070d0296e3" and "2f9c3d6d50a041b44dd6b7b38ee37a754a361ebf" have entirely different histories.

2 changed files with 38 additions and 22 deletions

38
.drone.yml Normal file
View file

@ -0,0 +1,38 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: maven:3.9-eclipse-temurin-25
commands:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
when:
ref:
include:
- refs/head/main
- refs/head/feature/**
- refs/tags/**
- name: test
image: maven:3.9-eclipse-temurin-25
commands:
- mvn test -B
when:
branch:
include:
- main
- feature/*
# - name: deploy
# image: maven:3.9-eclipse-temurin-25
# environment:
# REPO_TOKEN:
# from_secret: repo-token
# REPO_TOKEN_OSSRH:
# from_secret: repo-token-ossrh
# commands:
# - mvn -s maven-settings.xml deploy -DskipTests=true
# when:
# branch:
# - main
# event:
# exclude:
# - pull_request

View file

@ -1,22 +0,0 @@
on: [push]
jobs:
maven-build:
runs-on: docker
container:
image: node:25-trixie
steps:
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 25
- name: Install maven
run: |
apt-get update
apt-get install -y maven
- name: Checkout repository
uses: actions/checkout@v6
- name: Run maven build
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Run tests
run: mvn test -B