Skip to content

Commit

Permalink
🔨 Fix Makefile variable definition that should be evaluated immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
flovouin committed Mar 30, 2024
1 parent b9e39e1 commit 75cb7b8
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
.EXPORT_ALL_VARIABLES:
.PHONY: set-up-docker tear-down-docker testacc testacc-with-setup clean-testacc provider clean generate

METABASE_USERNAME?[email protected]
METABASE_PASSWORD?=$(shell uuidgen)
METABASE_URL?=http://localhost:3000/api

PG_HOST?=terraform-metabase-pg
PG_USER?=metabase
PG_PASSWORD?=$(shell uuidgen)
PG_DATABASE?=metabase
ifndef METABASE_USERNAME
METABASE_USERNAME:[email protected]
endif
ifndef METABASE_PASSWORD
METABASE_PASSWORD:=$(shell uuidgen)
endif
ifndef METABASE_URL
METABASE_URL:=http://localhost:3000/api
endif

ifndef PG_HOST
PG_HOST:=terraform-metabase-pg
endif
ifndef PG_USER
PG_USER:=metabase
endif
ifndef PG_PASSWORD
PG_PASSWORD:=$(shell uuidgen)
endif
ifndef PG_DATABASE
PG_DATABASE:=metabase
endif

MBTF_FOLDER:=cmd/mbtf

Expand Down

0 comments on commit 75cb7b8

Please sign in to comment.