Commit Graph

196 Commits

Author SHA1 Message Date
Sameer Naik
48f89dd2a3 Merge pull request #25 from sameersbn/rewrite-tests
Better readability and maintainability of tests
2015-11-04 21:46:10 +05:30
Sameer Naik
f6e521fec7 tests: Can't setup replication slave without master host 2015-11-04 21:11:59 +05:30
Sameer Naik
50a5090e3c tests: Can't setup replication master without replication user 2015-11-04 21:11:59 +05:30
Sameer Naik
6f0e9bf569 tests: rewrite tests for better maintenance and readability
- Reuse docker_helper.bash script in tests
 - Speed up of tests
 - Better readability
2015-11-04 21:11:54 +05:30
Sameer Naik
a2a9143d55 Merge pull request #23 from bitnami/5.5.46-0
Update to 5.5.46-0
2015-10-29 12:29:34 +05:30
Adnan Abdulhussein
c6dd23c977 Update to 5.5.46-0 2015-10-29 12:16:31 +05:30
Sameer Naik
27f00372a4 Merge pull request #20 from sameersbn/s6-service
Configure mariadb as an s6 service
2015-10-29 12:10:21 +05:30
Sameer Naik
e37a7b6dd8 fix documentation of "Setting up a replication cluster" 2015-10-29 11:56:24 +05:30
Sameer Naik
3921d6d5e9 tests: make use of cleanup_running_containers 2015-10-29 11:56:17 +05:30
Sameer Naik
b2e87c43f2 tests: always specify MARIADB_REPLICATION_MODE=master while starting the master 2015-10-29 11:25:49 +05:30
Sameer Naik
ccaee528bd skip DNS lookups to fix tests 2015-10-29 10:47:25 +05:30
Sameer Naik
8cee216e72 tests: fetch parameters from links once the link test has passed 2015-10-27 17:44:26 +05:30
Sameer Naik
d4f10a15da tests: fix container link names 2015-10-27 17:22:54 +05:30
Sameer Naik
d4af9015d8 use the entrypoint.sh script from the base image 2015-10-08 19:23:45 +05:30
Sameer Naik
a64fda3c8f the base image prints the welcome page by default 2015-10-08 19:23:45 +05:30
Sameer Naik
b713240b1d append EXTRA_OPTIONS to command only if it is defined 2015-10-08 19:23:45 +05:30
Sameer Naik
9847548f1f moved bitnami-utils-custom.sh and entrypoint.sh to rootfs/ directory 2015-10-08 19:23:45 +05:30
Sameer Naik
d5f49c9c98 added circuit breaker logic for frequent and repeated failures 2015-10-08 19:23:45 +05:30
Sameer Naik
b78a2124c6 added mariadb-logs service to tail the mysqld.bin logs 2015-10-08 19:23:45 +05:30
Sameer Naik
09b1ba287d moved most of the mariadb initialization and setup login into 01-bitnami-mariadb 2015-10-08 19:23:45 +05:30
Sameer Naik
89a56c6240 specify mysqld.bin as the default command 2015-10-08 19:23:45 +05:30
Sameer Naik
a3f80f88b2 do not start the mariadb service if user specifies a custom command 2015-10-08 19:23:45 +05:30
Sameer Naik
90361a7d0b removed pointless if condition from entrypoint.sh script 2015-10-08 19:23:45 +05:30
Sameer Naik
5157d1fe06 added init script to perform sanity checks 2015-10-08 19:23:45 +05:30
Sameer Naik
8a48641480 renamed 01-initialize-configs -> 02-bitnami-mariadb-initialize 2015-10-08 19:23:45 +05:30
Sameer Naik
d1b6492a8a bring down the container if the mariadb/run script returns an
unrecoverable error
2015-10-08 19:23:45 +05:30
Sameer Naik
a4fc9cfd02 enable user to specify parameters to the mariadb server from the command line 2015-10-08 19:23:45 +05:30
Sameer Naik
d63a182a52 added initialize-configs init script to populate the conf/ volume
`mysql` client fails when it is started from the docker run command line
due to missing `my.cnf`. To workaround this issue, we populate the
`conf/` volume from a `cont-init.d/01-initialize-configs` scripts.
2015-10-08 19:23:45 +05:30
Sameer Naik
c8d5ae842e create s6 service for starting mariadb server 2015-10-08 19:23:45 +05:30
Adnan Abdulhussein
1a8a716db2 Merge pull request #22 from bitnami/fix-install-script-execution
Run install script as executable
2015-10-08 13:07:33 +01:00
Adnan Abdulhussein
d4b8765733 Run install script as executable 2015-10-08 12:44:28 +01:00
Sameer Naik
43515b1187 fix installer.run.sha256 with busybox sha256sum applet 2015-09-15 15:02:58 +05:30
Adnan Abdulhussein
c7db40bd84 Merge pull request #19 from sameersbn/speed-up-development
copy `bitnami-utils-custom.sh` after `install.sh`
2015-09-11 09:09:23 -07:00
Sameer Naik
f4a4a7ab21 copy bitnami-utils-custom.sh after install.sh
speeds up development :)
2015-09-11 20:31:42 +05:30
Miguel Martinez
b1cc2189f7 Bump revision 5.5.45-0-r01 2015-09-11 09:44:45 +02:00
Miguel Martinez
931d3d858c Bump version 5.5.45-1 - Replication support 2015-09-11 09:37:58 +02:00
Miguel Ángel Martínez Triviño
d9d72a016f Merge pull request #17 from sameersbn/master-slave-replication-support
Add master-slave replication support
2015-09-11 09:35:11 +02:00
Sameer Naik
e677f04740 create_user: automatically fetch user/password and database from master link in slave 2015-09-11 11:28:30 +05:30
Sameer Naik
f1d23c68d0 added MARIADB_ prefix to replication parameters 2015-09-10 23:33:41 +05:30
Sameer Naik
dc6a5b3eed renamed master nodes link auto discovery link name to master from mariadb-master 2015-09-10 22:06:49 +05:30
Sameer Naik
c2b4312e9a tests: Can setup replication without password for replication user 2015-09-10 21:07:45 +05:30
Sameer Naik
4253aacb10 tests: Can't setup replication slave without master user 2015-09-10 20:47:50 +05:30
Sameer Naik
2ada7f8d48 tests: Can't setup replication slave without replication user 2015-09-10 20:32:25 +05:30
Sameer Naik
e996d40828 replication: MARIADB_DATABASE is required to setup a replication slave 2015-09-10 14:56:01 +05:30
Sameer Naik
587c76951b readme: document setting up replication cluster 2015-09-10 14:37:23 +05:30
Sameer Naik
6c523f7b16 replication: check connection to replication master before taking a database dump 2015-09-10 14:33:05 +05:30
Sameer Naik
2660259153 help: updated with replication options 2015-09-10 12:32:58 +05:30
Sameer Naik
b1cbadd7d7 tests: cleanup master and slave containers on setup and teardown 2015-09-09 22:03:46 +05:30
Sameer Naik
3559f2a1ac tests: Replication status is preserved after deletion 2015-09-09 21:50:45 +05:30
Sameer Naik
a9f0b54852 tests: Slave synchronizes with the master (delayed start) 2015-09-09 21:25:46 +05:30