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