bin/setup in pg_ha_migrations-1.6.0 vs bin/setup in pg_ha_migrations-1.7.0
- old
+ new
@@ -1,15 +1,12 @@
#!/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 -e POSTGRES_PASSWORD="${PGPASSWORD}" postgres:${PGVERSION}
+# Launch a blank postgres image with partman for testing
+docker-compose up -d --build