Skip to content

Commit 8f7ab40

Browse files
committed
Set proper METABASE_APP_DB_USER
1 parent e8304fc commit 8f7ab40

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
name: e2e-tests
2121
env:
2222
PREMIUM_EMBEDDING_TOKEN: ${{ secrets.ENTERPRISE_TOKEN }}
23+
METABASE_APP_DB_USER: ${{ secrets.DB_USER }}
24+
METABASE_APP_DB: ${{ secrets.DB_SHOPPY_DATABASE }}
2325
permissions:
2426
id-token: write
2527
contents: read

metabase/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [ -f $DUMP ]; then
1212
case "$METABASE_APP_DB_DUMP_TYPE" in
1313
application/x-tar|application/octet-stream)
1414
echo "Custom or directory‑format archive → pg_restore"
15-
pg_restore -d "$METABASE_APP_DB_URL" "$DUMP" > /dev/null
15+
pg_restore -d "$METABASE_APP_DB_URL" "$DUMP" --no-owner > /dev/null
1616
;;
1717
text/plain)
1818
echo "Plain text SQL → psql"

0 commit comments

Comments
 (0)