Sha256: 66fcc4b26b7ce8ee02b13def10c239810d3b3bbf01ee951587d20a88be3aefa9

Contents?: true

Size: 563 Bytes

Versions: 3

Compression:

Stored size: 563 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"
fi

export SOURCE_DB_URL="postgres://james-bond:james-bond123%407%21%273aaR@localhost:5432/postgres"
export TARGET_DB_URL="postgres://james-bond:james-bond123%407%21%273aaR@localhost:5433/postgres"
export PGPASSWORD='james-bond123@7!'"'"'3aaR'

pgbench --initialize -s 5 --foreign-keys --host localhost -U james-bond -d postgres

bundle exec bin/pg_easy_replicate config_check --copy-schema

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_easy_replicate-0.1.11 scripts/e2e-bootstrap.sh
pg_easy_replicate-0.1.10 scripts/e2e-bootstrap.sh
pg_easy_replicate-0.1.9 scripts/e2e-bootstrap.sh