1
This commit is contained in:
parent
b7cd40472a
commit
d4cea7aa43
3 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ when:
|
|||
repo: keycloak/keycloak-event-metrics
|
||||
event: [manual, push]
|
||||
branch: main
|
||||
path: [.woodpecker/build.yaml, pom.xml, src/main/**]
|
||||
path: [.woodpecker/build.yaml, Dockerfile, pom.xml, src/main/**]
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
|
@ -17,7 +17,7 @@ steps:
|
|||
image: maven:3.9.9-eclipse-temurin-17
|
||||
commands: mvn deploy
|
||||
environment:
|
||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||
MAVEN_ARGS: --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
|
||||
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
|
||||
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
when:
|
||||
event: [manual, pull_request, push]
|
||||
branch: main
|
||||
path: [.woodpecker/lint.yaml, renovate.json, "**/*.y*ml", "**/*.md"]
|
||||
path: [.woodpecker/lint.yaml, renovate.json, Dockerfile, "**/*.y*ml", "**/*.md"]
|
||||
|
||||
steps:
|
||||
|
||||
|
@ -23,4 +23,4 @@ steps:
|
|||
dockerfile:
|
||||
image: kokuwaio/hadolint
|
||||
depends_on: []
|
||||
when: [path: [.woodpecker/lint.yaml, "**/Dockerfile"]]
|
||||
when: [path: [.woodpecker/lint.yaml, Dockerfile]]
|
||||
|
|
|
@ -19,4 +19,4 @@ services:
|
|||
steps:
|
||||
test:
|
||||
image: maven:3.9.9-eclipse-temurin-17
|
||||
commands: mvn test -Dversion.org.keycloak.test="$KEYCLOAK_VERSION" --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||
commands: mvn test -Dversion.org.keycloak.test="$KEYCLOAK_VERSION" --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
Loading…
Add table
Add a link
Reference in a new issue