From a37c5daea94aee66577cee91cd13d78bf2b76efc Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Wed, 30 Jun 2021 16:00:31 -0700 Subject: [PATCH] POSTGRES --- .ci/functional_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/functional_test.sh b/.ci/functional_test.sh index 00fb4ccd5..bdac0504b 100755 --- a/.ci/functional_test.sh +++ b/.ci/functional_test.sh @@ -10,7 +10,8 @@ echo "Initializing default config..." curl https://raw.githubusercontent.com/CloudFire-LLC/cloudfire/${GITHUB_SHA}/scripts/init_config.sh | bash - # Create DB -export POSTGRES_PASSWD=postgres +export POSTGRES_USER=postgres +export POSTGRES_PASSWORD=postgres sudo -E -i -u postgres psql -w -c -h localhost "CREATE DATABASE cloudfire;" # Start by running migrations always