service key migration

This commit is contained in:
Jimmy Zelinskie 2016-03-30 16:16:35 -04:00 committed by Jimmy Zelinskie
parent d277fe6741
commit dff59b4a39
3 changed files with 67 additions and 4 deletions

View file

@ -28,7 +28,7 @@ up_mariadb() {
# Sleep for 10s to get MySQL get started.
echo 'Sleeping for 10...'
sleep 10
sleep 20
# Add the database to mysql.
docker run --rm --link mariadb:mariadb mariadb sh -c 'echo "create database genschema" | mysql -h"$MARIADB_PORT_3306_TCP_ADDR" -P"$MARIADB_PORT_3306_TCP_PORT" -uroot -ppassword'
@ -45,7 +45,7 @@ up_percona() {
# Sleep for 10s
echo 'Sleeping for 10...'
sleep 10
sleep 20
# Add the daabase to mysql.
docker run --rm --link percona:percona percona sh -c 'echo "create database genschema" | mysql -h $PERCONA_PORT_3306_TCP_ADDR -uroot -ppassword'