Commit Graph

188 Commits

Author SHA1 Message Date
tompizmor 44899aa931 Update Dockerfile 2016-09-24 16:12:54 +02:00
stacksmith-bot df7709ea05 stacksmith: Update Dockerfile 2016-09-23 20:36:15 +02:00
Ubuntu 1277a60bdb New version release of MariaDB 2016-09-22 15:58:03 +00:00
dgonzalez 39c8d3927e Fix typo 2016-09-19 10:05:30 +02:00
dgonzalez cff6e65ae2 Updated README 2016-09-19 09:27:27 +02:00
dgonzalez 0ff4891937 Updated revision of MariaDB module 2016-09-19 09:23:43 +02:00
tompizmor cedeced6d1 Update mariadb module to 10.1.14-5 2016-09-12 20:47:08 +02:00
Sameer Naik 07056cc477 bump image version to revision-10.1.14-r4 2016-09-07 10:32:45 +05:30
Sameer Naik bbbe3032f6 entrypoint: load the inputs.json file 2016-09-03 14:05:24 +05:30
Sameer Naik 5bd801d3bb `harpoon` has been renamed to `nami` 2016-09-03 13:25:08 +05:30
stacksmith-bot 68e1ddeeaf stacksmith: Update Dockerfile 2016-08-29 19:19:40 +02:00
dgonzalez c55b51fea1 Fix typo. 2016-08-29 12:38:04 +02:00
dgonzalez 151c743579 Updated mariadb in dockerfile 2016-08-29 12:30:07 +02:00
dgonzalez 35d4c30ed1 Revert "Updated revision of mariadb"
This reverts commit 20fab7e650.
2016-08-29 12:29:16 +02:00
dgonzalez 20fab7e650 Updated revision of mariadb 2016-08-29 12:19:56 +02:00
Adnan Abdulhussein e5382b5e0d Add Docker Hub automated build badge 2016-08-26 17:37:16 -07:00
Sameer Naik 0c0a22de6d revision 10.1.14-r3 2016-08-10 12:04:39 +05:30
Sameer Naik 753a8cb667 updated module to fix `MARIADB_MASTER_PORT` env param
Fixes #55
2016-08-10 10:34:09 +05:30
Sameer Naik 68c996784a tests: bump `SLEEP_TIME` to `90` seconds 2016-08-02 23:04:36 +05:30
Sameer Naik 177882fc30 license: updated copyright years 2016-08-02 15:50:54 +05:30
Sameer Naik 88d642e812 bump revision to `10.1.14-r2` (#54) 2016-07-12 10:49:33 +05:30
stacksmith-bot b6fddc228e stacksmith: Update Dockerfile (#53) 2016-07-12 09:14:34 +05:30
Tomas a1b9a58338 Added username, database and root password information during initialization 2016-06-20 09:58:17 +02:00
Sameer Naik 7f0949db55 upgrade to `mariadb-10.1.14-1` (#49)
Fixes #47
2016-05-26 17:28:11 +05:30
Sameer Naik 10acebb2e3 readme: use `/path/to/mariadb-persistence` and `/path/to/mariadb-backups` in examples (#48) 2016-05-20 16:40:58 -07:00
Sameer Naik 2ca9883fdf test: can create custom database with `-` character in the name (#46)
* test: can create custom database with `-` character in the name

* fix version in changelog
2016-05-18 15:44:55 -07:00
stacksmith-bot a0cf0350e2 stacksmith: Update Dockerfile (#45) 2016-05-12 18:10:28 -07:00
stacksmith-bot 3154e9e060 stacksmith: Add Dockerfile (#44)
* stacksmith: Add Dockerfile

* Setup MariaDB installation in Stacksmith Dockerfile
2016-05-12 16:51:20 -07:00
Sameer Naik ec6c94846e upgrade to `gcr.io/stacksmith-images/ubuntu:14.04-r07` baseimage 2016-05-12 15:05:02 +05:30
Sameer Naik 0872dd7c04 ignore `.git/` and `tests/` directories in docker builds 2016-05-11 16:33:05 +05:30
Sameer Naik af58376569 ignore `pkg-cache/` in git 2016-05-11 16:32:43 +05:30
Sameer Naik d9bace30ed set image version to `10.1.13-r0` in dockerfile 2016-05-10 18:48:43 +05:30
Sameer Naik b41e3fe6d8 tests: bump SLEEP_TIME to `45` seconds 2016-05-09 09:59:04 +05:30
Sameer Naik 033813b395 mariadb checksum update 2016-05-06 21:12:31 +05:30
Sameer Naik 58a7eb5528 readme fixes 2016-05-06 17:06:17 +05:30
Sameer Naik f1199b0bbb upgrade to mariadb-10.1.13-5 (#7)
* upgrade to gcr.io/stacksmith-images/ubuntu:14.04-r06

* upgrade to mariadb-10.1.13-2

* create custom database with `MARIADB_DATABASE` env

* create custom user with `MARIADB_USER` env

* tests: Can create custom database with password for root

* can specify password for root with `MARIADB_ROOT_PASSWORD`

* upgrade to `mariadb-10.1.13-3`

* fixed test to create custom database with password for root

* organize dockerfile

* `chown` the volume only when `harpoon start` is the CMD

The `mysql` user is created when `harpoon initialize` is called. Until
that time we cannot use `mysql` user in `chown` commands.

* adds env vars to configure master/slave replication

* bump version to mariadb-10.1.13-4

* tests: added master/slave replication tests

* bump version to `mariadb-10.1.13-4`

* tests: fixed for changes in `mariadb-10.1.13-5`

Since `mariadb-10.1.13-5` the root user password can only be set using
the `MARIADB_ROOT_PASSWORD` environment variable.

* tests: added slave recovery test

* readme updated
2016-05-06 16:59:53 +05:30
Sameer Naik de66df2292 readme fixes 2016-04-19 22:13:56 +05:30
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