Compare commits
3 commits
9ab47f1836
...
c16e6137fd
Author | SHA1 | Date | |
---|---|---|---|
c16e6137fd | |||
2ff690d180 | |||
ae377d62c2 |
6 changed files with 5 additions and 120 deletions
|
@ -1,17 +0,0 @@
|
|||
when:
|
||||
instance: ci.kokuwa.io
|
||||
repo: keycloak/keycloak-event-metrics
|
||||
event: [manual, push]
|
||||
branch: main
|
||||
path: [.woodpecker/dockerhub.yaml, README.md]
|
||||
|
||||
steps:
|
||||
|
||||
metadata:
|
||||
image: kokuwaio/dockerhub-metadata
|
||||
settings:
|
||||
repository: kokuwaio/keycloak-event-metrics
|
||||
description-short: Provides metrics for Keycloak user/admin events and user/client/session count.
|
||||
categories: monitoring-and-observability
|
||||
username: {from_secret: dockerhub_username}
|
||||
password: {from_secret: dockerhub_password}
|
|
@ -1,26 +0,0 @@
|
|||
when:
|
||||
event: [manual, pull_request, push]
|
||||
branch: main
|
||||
path: [.woodpecker/lint.yaml, renovate.json, Dockerfile, "**/*.y*ml", "**/*.md"]
|
||||
|
||||
steps:
|
||||
|
||||
renovate:
|
||||
image: kokuwaio/renovate-config-validator
|
||||
depends_on: []
|
||||
when: [path: [.woodpecker/lint.yaml, renovate.json]]
|
||||
|
||||
yaml:
|
||||
image: kokuwaio/yamllint
|
||||
depends_on: []
|
||||
when: [path: [.woodpecker/lint.yaml, .yamllint.yaml, "**/*.y*ml"]]
|
||||
|
||||
markdown:
|
||||
image: kokuwaio/markdownlint
|
||||
depends_on: []
|
||||
when: [path: [.woodpecker/lint.yaml, .markdownlint.yaml, "**/*.md"]]
|
||||
|
||||
dockerfile:
|
||||
image: kokuwaio/hadolint
|
||||
depends_on: []
|
||||
when: [path: [.woodpecker/lint.yaml, Dockerfile]]
|
|
@ -6,27 +6,6 @@ when:
|
|||
|
||||
steps:
|
||||
|
||||
maven:
|
||||
image: maven:3.9.10-eclipse-temurin-17
|
||||
commands:
|
||||
# setup git
|
||||
- git config user.email "$GIT_USER_EMAIL"
|
||||
- git config user.name "$GIT_USER_NAME"
|
||||
- git config gpg.format ssh
|
||||
- git config user.signingkey /run/secrets/sign.key
|
||||
- echo $GIT_SIGN_KEY > /run/secrets/sign.key
|
||||
# release & write version to env file for image
|
||||
- mvn release:prepare release:perform
|
||||
- echo "VERSION=$(grep "scm.tag=" release.properties | cut -d= -f2)" > maven.env
|
||||
environment:
|
||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
|
||||
GIT_SIGN_KEY: {from_secret: woodpecker_sign_key}
|
||||
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}
|
||||
|
||||
image:
|
||||
image: kokuwaio/buildctl
|
||||
settings:
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
when:
|
||||
event: [manual, pull_request]
|
||||
path: [.woodpecker/verify.yaml, pom.xml, src/**]
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: kokuwaio/dockerd
|
||||
privileged: true
|
||||
ports: [2375, 8080]
|
||||
|
||||
steps:
|
||||
|
||||
test:
|
||||
image: maven:3.9.10-eclipse-temurin-17
|
||||
commands: mvn verify -P-deploy
|
||||
environment:
|
||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||
|
||||
image:
|
||||
image: kokuwaio/buildctl
|
||||
settings:
|
||||
platform: [linux/amd64, linux/arm64]
|
||||
when:
|
||||
instance: ci.kokuwa.io
|
|
@ -1,26 +0,0 @@
|
|||
when:
|
||||
event: [manual, pull_request]
|
||||
path: [.woodpecker/versions.yaml, pom.xml, src/**]
|
||||
|
||||
depends_on: [verify]
|
||||
matrix:
|
||||
KEYCLOAK_VERSION:
|
||||
- 22.0.5
|
||||
- 23.0.7
|
||||
- 24.0.5
|
||||
- 25.0.6
|
||||
- 26.2.5
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: kokuwaio/dockerd
|
||||
privileged: true
|
||||
ports: [2375, 8080]
|
||||
|
||||
steps:
|
||||
|
||||
test:
|
||||
image: maven:3.9.10-eclipse-temurin-17
|
||||
commands: mvn verify -Dversion.org.keycloak.test="$KEYCLOAK_VERSION" -P-deploy,-check
|
||||
environment:
|
||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
11
pom.xml
11
pom.xml
|
@ -4,7 +4,7 @@
|
|||
|
||||
<groupId>io.kokuwa.keycloak</groupId>
|
||||
<artifactId>keycloak-event-metrics</artifactId>
|
||||
<version>2.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
|
||||
<name>Keycloak Metrics</name>
|
||||
<description>Provides metrics for Keycloak user/admin events</description>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<!-- =============================== Build =============================== -->
|
||||
<!-- ===================================================================== -->
|
||||
|
||||
<project.build.outputTimestamp>2025-06-25T11:45:45Z</project.build.outputTimestamp>
|
||||
<project.build.outputTimestamp>2025-04-28T12:25:49Z</project.build.outputTimestamp>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.build.propertiesEncoding>ISO-8859-1</project.build.propertiesEncoding>
|
||||
|
||||
|
@ -257,13 +257,12 @@
|
|||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<configuration>
|
||||
<preparationGoals>test</preparationGoals>
|
||||
<preparationProfiles>check</preparationProfiles>
|
||||
<goals>deploy -DskipITs</goals>
|
||||
<releaseProfiles>deploy,release</releaseProfiles>
|
||||
<preparationGoals>clean</preparationGoals>
|
||||
<goals>clean</goals>
|
||||
<signTag>true</signTag>
|
||||
<scmReleaseCommitComment>@{prefix} prepare release @{releaseLabel} [CI SKIP]</scmReleaseCommitComment>
|
||||
<tagNameFormat>@{project.version}</tagNameFormat>
|
||||
<remoteTagging>false</remoteTagging>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue