Skip to content

Commit be157f3

Browse files
authored
Switch tests to use mz_system user (#37)
1 parent 2e88cb2 commit be157f3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/dockerhub.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
tags:
66
- "v*"
7+
workflow_dispatch:
8+
inputs:
9+
version:
10+
description: "Version to build and publish"
11+
required: true
712

813
jobs:
914
dockerhub:

test/metabase/test/data/materialize.clj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@
4444
[_ context {:keys [database-name]}]
4545
(merge
4646
{:host (tx/db-test-env-var-or-throw :materialize :host "localhost")
47-
:port (tx/db-test-env-var-or-throw :materialize :port 6875)
48-
:cluster (tx/db-test-env-var :materialize :cluster "default")}
49-
(when-let [user (tx/db-test-env-var :materialize :user)]
50-
{:user user})
47+
:port (tx/db-test-env-var-or-throw :materialize :port 6877)
48+
:cluster (tx/db-test-env-var :materialize :cluster "default")
49+
:user (tx/db-test-env-var-or-throw :materialize :user "mz_system")}
5150
(when-let [password (tx/db-test-env-var :materialize :password)]
5251
{:password password})
5352
(when (= context :db)

0 commit comments

Comments
 (0)