mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 14:21:19 +00:00
Update .woodpecker.yml
This commit is contained in:
parent
728b6d49d7
commit
f252de1a6c
1 changed files with 3 additions and 4 deletions
|
@ -133,17 +133,16 @@ steps:
|
||||||
- diff config/defaults.hjson config/defaults_current.hjson
|
- diff config/defaults.hjson config/defaults_current.hjson
|
||||||
when: *slow_check_paths
|
when: *slow_check_paths
|
||||||
|
|
||||||
# Create database not owned by default user, so `DROP OWNED` works
|
# `DROP OWNED` doesn't work for default user
|
||||||
create_database:
|
create_database_user:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
environment:
|
environment:
|
||||||
PGUSER: lemmy
|
PGUSER: postgres
|
||||||
PGPASSWORD: password
|
PGPASSWORD: password
|
||||||
PGHOST: database
|
PGHOST: database
|
||||||
PGDATABASE: lemmy
|
PGDATABASE: lemmy
|
||||||
commands:
|
commands:
|
||||||
- psql -c "CREATE USER lemmy WITH PASSWORD 'password' SUPERUSER;"
|
- psql -c "CREATE USER lemmy WITH PASSWORD 'password' SUPERUSER;"
|
||||||
- psql -c "CREATE DATABASE lemmy WITH OWNER lemmy;"
|
|
||||||
when: *slow_check_paths
|
when: *slow_check_paths
|
||||||
|
|
||||||
check_db_perf_tool:
|
check_db_perf_tool:
|
||||||
|
|
Loading…
Reference in a new issue