bin/setup in pg_ha_migrations-1.2.5 vs bin/setup in pg_ha_migrations-1.3.0
- old
+ new
@@ -1,12 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx
+export PGPASSWORD="${PGPASSWORD:-postgres}"
+PGVERSION="${PGVERSION:-13}"
+
bundle install
bundle exec appraisal install
# Do any other automated setup that you need to do here
# Launch a blank postgres image for testing
-docker run -d -p 127.0.0.1:5432:5432 postgres:10
+docker run -d -p 127.0.0.1:5432:5432 -e POSTGRES_PASSWORD="${PGPASSWORD}" postgres:${PGVERSION}