Compare commits
No commits in common. "4ce49cb68f8aed360fc7d848201a74ec88979853" and "1bb00fcda96ba52d9b6768e84ab18da7acae77ac" have entirely different histories.
4ce49cb68f
...
1bb00fcda9
5 changed files with 14 additions and 54 deletions
|
@ -12,8 +12,7 @@ labels:
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- java
|
- test
|
||||||
- nodejs
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build-only:
|
build-only:
|
|
@ -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
|
|
|
@ -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
13
.woodpecker/test.yml
Normal 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
|
|
@ -10,8 +10,6 @@ services:
|
||||||
context: .
|
context: .
|
||||||
target: bot
|
target: bot
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
|
||||||
- db
|
|
||||||
user: 1000:1000
|
user: 1000:1000
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
@ -34,9 +32,6 @@ services:
|
||||||
- migration
|
- migration
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
networks:
|
|
||||||
- db
|
|
||||||
- web
|
|
||||||
|
|
||||||
migration:
|
migration:
|
||||||
image: git.hhhammer.de/hamburghammer/dchat/migration:latest
|
image: git.hhhammer.de/hamburghammer/dchat/migration:latest
|
||||||
|
@ -49,8 +44,6 @@ services:
|
||||||
user: 1000:1000
|
user: 1000:1000
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
networks:
|
|
||||||
- db
|
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
image: git.hhhammer.de/hamburghammer/dchat/ui:latest
|
image: git.hhhammer.de/hamburghammer/dchat/ui:latest
|
||||||
|
@ -61,8 +54,6 @@ services:
|
||||||
user: 1000:1000
|
user: 1000:1000
|
||||||
ports:
|
ports:
|
||||||
- 8081:8080
|
- 8081:8080
|
||||||
networks:
|
|
||||||
- ui
|
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
image: git.hhhammer.de/hamburghammer/dchat/caddy:latest
|
image: git.hhhammer.de/hamburghammer/dchat/caddy:latest
|
||||||
|
@ -76,9 +67,6 @@ services:
|
||||||
- web
|
- web
|
||||||
ports:
|
ports:
|
||||||
- 8081:8080
|
- 8081:8080
|
||||||
networks:
|
|
||||||
- ui
|
|
||||||
- web
|
|
||||||
volumes:
|
volumes:
|
||||||
- caddy_config:/config
|
- caddy_config:/config
|
||||||
|
|
||||||
|
@ -89,8 +77,6 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:5432:5432
|
- 127.0.0.1:5432:5432
|
||||||
networks:
|
|
||||||
- db
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/postgres:/var/lib/postgresql/data:rw
|
- ./data/postgres:/var/lib/postgresql/data:rw
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -102,8 +88,3 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_config:
|
caddy_config:
|
||||||
|
|
||||||
networks:
|
|
||||||
db:
|
|
||||||
ui:
|
|
||||||
web:
|
|
||||||
|
|
Loading…
Reference in a new issue