aboutsummaryrefslogtreecommitdiff
path: root/docker/common/galera
AgeCommit message (Collapse)AuthorFilesLines
2015-08-28Move scripts for galera to docker_templatesSteven Dake3-73/+0
Change-Id: I16639642d4e8bc5074d72d2f4b7fa1ec3a8f31de Partially-Implements: blueprint remove-docker-dir
2015-08-21Fix MariaDB for ubuntuSam Yaple1-48/+0
In MariaDB we adjust the dependecies of what we install there as well adding only what is appropriate for the install. In Ansible we adjust some templates to all work around differences between the different Linux families. Change-Id: Ibc26e2f4d4a732630632d3ed27fb595b6fe019d2 Partially-Implements: blueprint install-from-ubuntu
2015-08-18Use one data container for all data volumesSteven Dake1-7/+2
The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container
2015-08-06update config-external.sh in galera,keystone,rabbitmq,swiftxiabing.yao1-4/+7
Use variables like SOURCE,TARGET in config-external.sh, so it will easy to modify in future. Closes-Bug: #1485710 Change-Id: I3880a2cbca8a80d36e84a797fcfb943e43b88bd5
2015-08-07Remove config-internal from galeraSteven Dake2-24/+1
Change-Id: I1d0c39a73d0cdd558c3f9fe3d3706430ee9976a2 Partially-implements: blueprint remove-config-internal
2015-07-29Update service helper scripts for variable changesSwapnil Kulkarni1-3/+6
- Updated the required variables to be sorted so that they are better visible one on each line - Removed variable defaults from each service scripts and added them to tools/genenv file which holds all default values Change-Id: Ia7b1b08ba3f963b46b81434ce84f476d56890a93 Closes-Bug: #1476494 Closes-Bug: #1467652
2015-07-03Ansible Mariadb w/ Galera supportSam Yaple4-20/+54
Adds initial support for Mariadb with Galera replication in Ansible using the CONFIG_EXTERNAL methods. Additionally, this refactors some of the Galera config script to allow for reuse by CONFIG_EXTERNAL. Partially Implements: blueprint ansible-service Change-Id: I566fea0376ecca39fc8a5167f9ff9ff434ea7b7e
2015-06-19Merge "Fixed non-bashate compliant method signature"Jenkins1-1/+1
2015-06-19Fixed non-bashate compliant method signatureBorne Mace1-1/+1
Change-Id: Iae145f6b4413035eb800355a9a72f153b744b4ba Partially-implements: blueprint bashate-gate
2015-06-19Fixed non-bashate compliant file, missing newline at endBorne Mace1-1/+2
Change-Id: I9653765b716d17f73a874a21d42ff09ad90792c3 Partially-implements: blueprint bashate-gate
2015-06-19Symlink all non Dockerfile resources in imagesPaul Bourke2-0/+108
The only files in the docker image directories that differ majorly between distros are the Dockerfiles (e.g. different package manager mechanisms, different repo sources, etc). The supporting files such as the start.sh/check.sh and config files should largely stay the same between base images. This change moves these files up into a "common" directory, and symlinks them in the same way that the build script is managed. This means when adding a new base distro only new Dockerfiles need to be created. Also, if a distro does happen to require a vastly different start.sh script for example, one can choose to simply not symlink to the common and instead drop in a custom one. Implements: blueprint refactor-base-image-layout Change-Id: Ic4db69d31ff54a1fb95af4853a2e5ae490064284