Skip to content

Commit 877d14e

Browse files
csweichelroboquat
authored andcommitted
[dev:preview] Add DB_HOST default
1 parent 32bb8c1 commit 877d14e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/preview/workflow/preview/preview.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ set -euo pipefail
66

77
SCRIPT_PATH=$(realpath "$(dirname "$0")")
88

9+
# Ensure components/gitpod-db:dbtest-init works
10+
export DB_HOST="${DB_HOST:-127.0.0.1}"
11+
912
# shellcheck source=../lib/common.sh
1013
source "$(realpath "${SCRIPT_PATH}/../lib/common.sh")"
1114

0 commit comments

Comments
 (0)