postgres_exporter/tests/docker-postgres-replication
Will Rouesnel 53ad0efbbb Add docker-compose and replication environment tests to the smoke-tests.
Use docker-compose and p2 to setup a replicated environment for each
version of PostgreSQL we want to support.

Still missing: key-specific tests to ensure each version doesn't lose
metrics.
2016-11-17 02:00:42 +11:00
..
docker-compose.yml Add postgres cluster replication smoke tests. 2016-11-17 01:14:03 +11:00
docker-entrypoint.sh Add postgres cluster replication smoke tests. 2016-11-17 01:14:03 +11:00
Dockerfile Add docker-compose and replication environment tests to the smoke-tests. 2016-11-17 02:00:42 +11:00
Dockerfile.p2 Add postgres cluster replication smoke tests. 2016-11-17 01:14:03 +11:00
README.md Add postgres cluster replication smoke tests. 2016-11-17 01:14:03 +11:00
setup-replication.sh Add postgres cluster replication smoke tests. 2016-11-17 01:14:03 +11:00

Replicated postgres cluster in docker.

Upstream is forked from https://github.com/DanielDent/docker-postgres-replication

My version lives at https://github.com/wrouesnel/docker-postgres-replication

This very simple docker-compose file lets us stand up a replicated postgres cluster so we can test streaming.

TODO:

Pull in p2 and template the Dockerfile so we can test multiple versions.