Compare commits

..

No commits in common. "4ce49cb68f8aed360fc7d848201a74ec88979853" and "1bb00fcda96ba52d9b6768e84ab18da7acae77ac" have entirely different histories.

5 changed files with 14 additions and 54 deletions

View file

@ -12,8 +12,7 @@ labels:
platform: linux/amd64
depends_on:
- java
- nodejs
- test
steps:
build-only:

View file

@ -1,26 +0,0 @@
matrix:
MODULE:
- db
- bot
- web
- migration
variables:
- &image 'docker.io/maven:3.9-eclipse-temurin-21'
steps:
compile:
image: *image
group: compile
commands:
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am compile
test:
image: *image
group: test
commands:
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am test
build:
image: *image
group: build
commands:
- mvn --batch-mode --no-transfer-progress -Dmaven.test.skip -pl ${MODULE} -am install

View file

@ -1,7 +0,0 @@
steps:
build:
image: docker.io/node:18-alpine
directory: ui
commands:
- npm ci
- npm run build

13
.woodpecker/test.yml Normal file
View file

@ -0,0 +1,13 @@
matrix:
MODULE:
- db
- bot
- web
- migration
steps:
test:
image: docker.io/maven:3.9-eclipse-temurin-21
group: test
commands:
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am test

View file

@ -10,8 +10,6 @@ services:
context: .
target: bot
restart: unless-stopped
networks:
- db
user: 1000:1000
depends_on:
- db
@ -34,9 +32,6 @@ services:
- migration
ports:
- 8080:8080
networks:
- db
- web
migration:
image: git.hhhammer.de/hamburghammer/dchat/migration:latest
@ -49,8 +44,6 @@ services:
user: 1000:1000
depends_on:
- db
networks:
- db
ui:
image: git.hhhammer.de/hamburghammer/dchat/ui:latest
@ -61,8 +54,6 @@ services:
user: 1000:1000
ports:
- 8081:8080
networks:
- ui
caddy:
image: git.hhhammer.de/hamburghammer/dchat/caddy:latest
@ -76,9 +67,6 @@ services:
- web
ports:
- 8081:8080
networks:
- ui
- web
volumes:
- caddy_config:/config
@ -89,8 +77,6 @@ services:
restart: unless-stopped
ports:
- 127.0.0.1:5432:5432
networks:
- db
volumes:
- ./data/postgres:/var/lib/postgresql/data:rw
healthcheck:
@ -102,8 +88,3 @@ services:
volumes:
caddy_config:
networks:
db:
ui:
web: