Sha256: 00a31d0662195cc071239822a9c6f81809f28d5386b6ffb73ac5ad13a0547b8b
Contents?: true
Size: 780 Bytes
Versions: 3
Compression:
Stored size: 780 Bytes
Contents
#!/bin/bash set -eo pipefail if [[ -z ${GITHUB_WORKFLOW} ]]; then export SECONDARY_SOURCE_DB_URL="postgres://james-bond:james-bond123%407%21%273aaR@source_db/postgres-db" fi export SOURCE_DB_URL="postgres://james-bond:james-bond123%407%21%273aaR@localhost:5432/postgres-db" export TARGET_DB_URL="postgres://james-bond:james-bond123%407%21%273aaR@localhost:5433/postgres-db" export PGPASSWORD='james-bond123@7!'"'"''"'"'3aaR' # Bootstrap and cleanup echo "===== Performing Bootstrap and cleanup" bundle exec bin/pg_easy_replicate bootstrap -g cluster-1 --copy-schema bundle exec bin/pg_easy_replicate start_sync -g cluster-1 -s public --recreate-indices-post-copy bundle exec bin/pg_easy_replicate stats -g cluster-1 bundle exec bin/pg_easy_replicate switchover -g cluster-1
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pg_easy_replicate-0.2.2 | scripts/e2e-start.sh |
pg_easy_replicate-0.2.1 | scripts/e2e-start.sh |
pg_easy_replicate-0.2.0 | scripts/e2e-start.sh |