chore: migrated repository from github.com to git.kokuwa.io
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/deployment/release Pipeline was successful

This commit is contained in:
Stephan Schnabel 2025-06-27 14:22:44 +02:00
parent 9c383a277f
commit 50fe4a86b8
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
27 changed files with 1145 additions and 479 deletions

29
.woodpecker/release.yaml Normal file
View file

@ -0,0 +1,29 @@
when:
instance: ci.kokuwa.io
repo: kokuwaio/micronaut-logging
event: deployment
branch: main
steps:
maven:
image: maven:3.9.10-eclipse-temurin-17
commands:
# setup git with ssk key signing
- git config user.email "$GIT_USER_EMAIL"
- git config user.name "$GIT_USER_NAME"
- git config commit.gpgsign true
- git config gpg.format ssh
- git config user.signingkey /run/secrets/sign.pub
- install -m 400 /dev/null /run/secrets/sign && echo "$GIT_SIGN_KEY" > /run/secrets/sign
- install -m 444 /dev/null /run/secrets/sign.pub && echo "$GIT_SIGN_PUB" > /run/secrets/sign.pub
# release
- mvn release:prepare release:perform --settings=.woodpecker/maven/settings.xml
environment:
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
GIT_SIGN_KEY: {from_secret: woodpecker_sign_key}
GIT_SIGN_PUB: {from_secret: woodpecker_sign_pub}
FORGEJO_USERNAME: {from_secret: woodpecker_username}
FORGEJO_PASSWORD: {from_secret: woodpecker_password}
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}