Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch tests to use mz_system user #37

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
tags:
- "v*"
workflow_dispatch:
inputs:
version:
description: "Version to build and publish"
required: true

jobs:
dockerhub:
Expand Down
7 changes: 3 additions & 4 deletions test/metabase/test/data/materialize.clj
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@
[_ context {:keys [database-name]}]
(merge
{:host (tx/db-test-env-var-or-throw :materialize :host "localhost")
:port (tx/db-test-env-var-or-throw :materialize :port 6875)
:cluster (tx/db-test-env-var :materialize :cluster "default")}
(when-let [user (tx/db-test-env-var :materialize :user)]
{:user user})
:port (tx/db-test-env-var-or-throw :materialize :port 6877)
:cluster (tx/db-test-env-var :materialize :cluster "default")
:user (tx/db-test-env-var-or-throw :materialize :user "mz_system")}
(when-let [password (tx/db-test-env-var :materialize :password)]
{:password password})
(when (= context :db)
Expand Down