Sameer Naik
36128f6670
updated readme ( #6 )
2016-04-19 22:11:16 +05:30
Sameer Naik
b76978c6ed
organize dockerfile for stacksmith ( #4 )
...
* define `BITNAMI_APP_CHECKSUM` macro
* removed `BITNAMI_APP_DIR` macro
* removed `BITNAMI_APP_VOL_PREFIX` macro
* organize dockerfile for stacksmith
2016-04-18 14:46:23 +05:30
Sameer Naik
0634d4401e
tests: updated for mariadb-10.1.12-0 changes
2016-04-07 17:04:56 +05:30
Sameer Naik
1c3f150987
updated to mariadb-10.1.12-0
...
Notable Changes:
- root password is optional
2016-04-07 17:03:55 +05:30
Sameer Naik
1842fdca84
fix typo
2016-03-22 13:09:42 +05:30
Sameer Naik
dfb59d32f8
upgrade baseimage: gcr.io/stacksmith-images/ubuntu:14.04-r05
2016-03-22 12:48:44 +05:30
Sameer Naik
72c671d2d4
removed unused files
2016-03-11 12:29:57 +05:30
Sameer Naik
8500d16955
tests: updated according to current feature set
2016-03-11 12:29:17 +05:30
Sameer Naik
27c41ce749
switch to gcr.io/stacksmith-images/ubuntu:14.04 base image
2016-03-11 12:28:56 +05:30
Sameer Naik
3a80b43585
tests: deal with only two containers
...
containers are cleaned up after every test, minimizing the number of
containers in use can reduce the time to run the BATS tests
2016-02-16 12:04:54 -08:00
Sameer Naik
4b7b8a4a3f
remove unused installer.run.sha256
2016-02-16 12:03:07 -08:00
Sameer Naik
1453ebc8ac
switch to harpoon installer
2016-02-16 12:02:43 -08:00
Sameer Naik
5dadafae35
fix creation of replication user for 10.x releases
...
Creating a replication user (in the `GRANT` statement) without a
password errors out on upcoming 10.x releases.
For example,
```sql
GRANT REPLICATION SLAVE ON *.* TO 'replication'@'%' IDENTIFIED BY '';
```
emits the error `ERROR 1133 (28000): Can't find any matching row in the
user table`.
To resolve this we user the `CREATE` statement to the user.
eg.
```sql
CREATE USER 'replication'@'%' IDENTIFIED BY '';
GRANT REPLICATION SLAVE ON *.* TO 'replication'@'%';
```
2016-02-16 11:52:08 -08:00
Sameer Naik
5725653c6f
set default value of MARIADB_MASTER_USER to root
...
Refer #34
2016-01-30 12:23:18 +05:30
Sameer Naik
0609d96799
tests: make sed a little resilient to whitespaces
2015-11-28 10:31:48 +05:30
Sameer Naik
2f84894314
tests: Configuration changes are preserved after deletion
2015-11-27 20:59:10 +05:30
Sameer Naik
872f08f0d5
bump version 5.5.46-0-r01
2015-11-25 12:37:21 +05:30
Sameer Naik
37560c6b8c
update tests submodule
2015-11-25 11:57:15 +05:30
Sameer Naik
1f4e221725
tests: helpers have been moved to https://github.com/bitnami/bitnami-docker-tests.git
2015-11-10 11:12:09 +05:30
Sameer Naik
5d25977da4
tests: update to latest docker_helper
2015-11-09 20:45:35 +05:30
Sameer Naik
42da4961f5
tests: renamed create_container function to container_create in docker_helper
2015-11-05 19:18:08 +05:30
Sameer Naik
6bc93ee0ef
tests: fix container_exec function
2015-11-05 14:19:09 +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
Adnan Abdulhussein
c6dd23c977
Update to 5.5.46-0
2015-10-29 12:16:31 +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
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