Reconfigure for forgejo/woodpecker
This commit is contained in:
parent
1d5b9eeb99
commit
c98864e074
12 changed files with 162 additions and 138 deletions
29
.woodpecker/build.yaml
Normal file
29
.woodpecker/build.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
when:
|
||||
event: [manual, push]
|
||||
branch: main
|
||||
path: [.woodpecker/build.yaml, pom.xml, src/**]
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: kokuwaio/dockerd
|
||||
ports: [2375, 8080]
|
||||
|
||||
steps:
|
||||
|
||||
build:
|
||||
image: maven:3.9.9-eclipse-temurin-17
|
||||
commands:
|
||||
- env | sort
|
||||
- mvn deploy --settings=.woodpecker/maven/settings.xml -Dmaven.test.redirectTestOutputToFile=true -X
|
||||
environment:
|
||||
NEXUS_USERNAME: {from_secret: nexus_username}
|
||||
NEXUS_PASSWORD: {from_secret: nexus_password}
|
||||
|
||||
debug:
|
||||
image: kokuwaio/dockerd
|
||||
commands:
|
||||
- docker ps --all
|
||||
- docker logs keylcoak
|
||||
- exit 1
|
||||
when:
|
||||
status: failure
|
Loading…
Add table
Add a link
Reference in a new issue