Sameer Naik
a812a01daa
tests: move reusable bits into a tests/docker_helper.bash script
2015-11-04 21:28:21 +05:30
Sameer Naik
636341b2b9
tests: rewrite tests for better readability and maintainability
...
- Added utility functions for docker abstraction
- Volumes can be mounted for every container instance as long as the
name is unique when multiple containers are started
- Cleanup of containers is performed once when the tests are started
and in the teardown function
- Full container environment is specified in each test for better
readability
- Comments are also added for better readability
2015-11-04 21:28:16 +05:30
Sameer Naik
ac606e4a97
simplify sed substitution while configuring replication slave
2015-10-30 14:03:39 +05:30
Sameer Naik
d5de3cc9c0
Merge pull request #3 from sameersbn/streaming-replication
...
Adds support for streaming replication
2015-10-29 23:48:35 +05:30
Sameer Naik
96b6acb06e
tests: to avoid confusion always specify the replication parameters on the slave instead of fetching from the master
2015-10-29 23:10:27 +05:30
Sameer Naik
c0f09c83b8
tests: Replication slave can be triggered to act as the master
2015-10-29 23:08:05 +05:30
Sameer Naik
e6445f27a3
tests: make use of cleanup_running_containers
2015-10-29 23:05:59 +05:30
Sameer Naik
c842be78a6
support reconfiguration of slave as master using a trigger file
2015-10-29 20:01:56 +05:30
Sameer Naik
4dc45c9da8
updated help text
2015-10-29 20:01:47 +05:30
Sameer Naik
a5705f903b
updated README
2015-10-29 13:16:08 +05:30
Sameer Naik
cd648b8348
tests: Replication status is preserved after deletion
2015-10-29 12:49:05 +05:30
Sameer Naik
6fbfe34623
tests: Slave synchronizes with the master (delayed start)
2015-10-29 12:49:05 +05:30
Sameer Naik
19b9e10e34
tests: Replication slave can fetch replication parameters from link alias "master"
2015-10-29 12:49:05 +05:30
Sameer Naik
eb26859c84
tests: Can't setup replication slave without replication password
2015-10-29 12:49:05 +05:30
Sameer Naik
49e6f3c4af
tests: Can't setup replication slave without replication user
2015-10-29 12:49:05 +05:30
Sameer Naik
bba7b9f682
tests: Can't setup replication slave without master host
2015-10-29 12:49:05 +05:30
Sameer Naik
8254d91832
tests: Can't setup replication master without replication user password
2015-10-29 12:49:05 +05:30
Sameer Naik
d1a2511783
tests: Can't setup replication master without replication user
2015-10-29 12:49:05 +05:30
Sameer Naik
9486d55c54
tests: Master database is replicated on slave
2015-10-29 12:49:05 +05:30
Sameer Naik
75446cf3d9
master user and password is not required to set up a slave replication
2015-10-29 12:49:05 +05:30
Sameer Naik
48b96baf22
do not print credentials when configured as as replication slave
2015-10-29 12:49:05 +05:30
Sameer Naik
e5483dce5a
take ownership of /conf at every start
2015-10-29 12:49:05 +05:30
Sameer Naik
d75474f195
configure slave connection info at every startup
2015-10-29 12:49:05 +05:30
Sameer Naik
e9afd6a54a
add support for streaming replication
2015-10-29 12:49:00 +05:30
Sameer Naik
0d7d3fc432
Merge pull request #2 from sameersbn/fix-ownerships
...
correctly apply ownership to `/data` and `/logs` volumes
2015-10-27 14:50:20 +05:30
Sameer Naik
189a7e92a8
correctly apply ownership to /data and /logs volumes
...
`chown` does not seem to follow symlinks.
2015-10-27 14:49:06 +05:30
Sameer Naik
5ba882d640
Merge pull request #1 from sameersbn/s6-service
...
Configure postgresql as an s6 service
2015-10-04 14:53:57 +05:30
Sameer Naik
b30e1202c7
use the entrypoint.sh script from the base image
2015-10-04 14:33:55 +05:30
Sameer Naik
1570f55638
the base image prints the welcome page by default
2015-10-04 14:33:44 +05:30
Sameer Naik
0612aebc66
replace use of gosu with s6-setuidgid
2015-10-04 14:32:45 +05:30
Sameer Naik
32c3bd6a3e
added circuit breaker logic for frequent and repeated failures
2015-10-04 14:32:45 +05:30
Sameer Naik
0b6a75cb52
do not start postgres and logging services if user specifies a command
2015-10-04 14:32:45 +05:30
Sameer Naik
9f99f0a37a
configure postgresql as a s6 service
2015-10-04 14:32:40 +05:30
Sameer Naik
29f5f59b3f
created rootfs/ directory structure
2015-10-01 20:59:25 +05:30
Sameer Naik
2e31136d83
fix installer.run.sha256 with busybox sha256sum applet
2015-09-15 15:04:56 +05:30
Sameer Naik
17aa4e849b
help.txt generated with help_generation tool
2015-08-15 11:56:58 +05:30
Sameer Naik
c9cb4a8385
tests: identation fixes
2015-08-15 10:52:03 +05:30
Sameer Naik
088b9a6c6e
remove tty requirement for tests in CI
2015-08-15 09:34:11 +05:30
Sameer Naik
b596ffdb63
remove the config files generated by initdb at database initialization
2015-08-12 11:53:04 +05:30
Sameer Naik
2614cb8be9
populate configuration templates in conf.defaults at post-install
2015-08-12 11:52:29 +05:30
Sameer Naik
20327c7452
do not move postgresql.auto.conf to conf volume
2015-08-12 11:49:34 +05:30
Sameer Naik
a72915f127
do not create symlinks to config files
2015-08-12 11:47:55 +05:30
Sameer Naik
157a3f91ca
fix shebang
2015-08-12 11:45:10 +05:30
Sameer Naik
73b23d08af
readme: cleanups
2015-08-11 12:49:04 +05:30
Sameer Naik
37bb30a457
added README
2015-08-11 12:47:27 +05:30
Sameer Naik
59725356e3
use path to postgresql.conf in conf volume in PROGRAM_OPTIONS
2015-08-11 12:33:43 +05:30
Sameer Naik
24c6a7c02e
Merge branch 'conf-volume'
2015-08-10 23:44:05 +05:30
Sameer Naik
1eb940dad0
added conf volume
2015-08-10 23:42:16 +05:30
Sameer Naik
7f344811f2
fix typo
2015-08-10 23:28:41 +05:30
Sameer Naik
c8fd8ab5bf
Merge branch 'tests'
2015-08-10 23:20:24 +05:30