Use fixed ports in ci, necessary for woodpecker-ci

This commit is contained in:
Stephan Schnabel 2025-06-23 16:54:42 +02:00
parent 9552221cc4
commit 6aa2b79ad0
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
24 changed files with 662 additions and 560 deletions

21
.woodpecker/release.yaml Normal file
View file

@ -0,0 +1,21 @@
when:
instance: ci.kokuwa.io
repo: keycloak/keycloak-event-metrics
event: deployment
branch: main
services:
- name: dockerd
image: kokuwaio/dockerd
ports: [2375, 8080]
steps:
deploy:
image: maven:3.9.10-eclipse-temurin-17
commands: mvn release:prepare release:perform --settings=.woodpecker/maven/settings.xml
environment:
MAVEN_ARGS: --color=always --no-transfer-progress -DskipTests -DautoPublish=false
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}