mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
use the same approach to start mysql as in bamboo [execute tests on MySQL]
This commit is contained in:
18
scripts/mysql/common.sh
Normal file
18
scripts/mysql/common.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
CONTAINER_NAME=alfresco-db-mysql
|
||||
|
||||
MYSQL_USER=alfresco
|
||||
MYSQL_ROOT_PASSWORD=alfresco
|
||||
MYSQL_DATABASE=alfresco
|
||||
|
||||
MYSQL_HOST=127.0.0.1
|
||||
MYSQL_PORT=3306
|
||||
|
||||
usage () {
|
||||
echo "Usage: $0 <image>"
|
||||
}
|
||||
|
||||
if [[ $# -ne 1 ]]; then
|
||||
usage
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user