mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 22:31:20 +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
|
||||
when: *slow_check_paths
|
||||
|
||||
# Create database not owned by default user, so `DROP OWNED` works
|
||||
create_database:
|
||||
# `DROP OWNED` doesn't work for default user
|
||||
create_database_user:
|
||||
image: postgres:16-alpine
|
||||
environment:
|
||||
PGUSER: lemmy
|
||||
PGUSER: postgres
|
||||
PGPASSWORD: password
|
||||
PGHOST: database
|
||||
PGDATABASE: lemmy
|
||||
commands:
|
||||
- psql -c "CREATE USER lemmy WITH PASSWORD 'password' SUPERUSER;"
|
||||
- psql -c "CREATE DATABASE lemmy WITH OWNER lemmy;"
|
||||
when: *slow_check_paths
|
||||
|
||||
check_db_perf_tool:
|
||||
|
|
Loading…
Reference in a new issue