From f252de1a6c392771ddb063769a6a8cb7bc83d867 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Thu, 23 May 2024 11:57:28 -0700 Subject: [PATCH] Update .woodpecker.yml --- .woodpecker.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2b921806e..89608e724 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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: