MXS-2243_labels Maxscale system tests prepare environment by themselves
maxscale-system-test changed in order to control test environment by itself. Every test checks which machines are running, compare with list of needed machines and start new VMs is they are missing in the running machines list. Tests are executiong MDBCI commands, MDBCI executable should be in the PATH
This commit is contained in:
@ -31,11 +31,11 @@ Template for this configuration is
|
||||
|
||||
Another templates:
|
||||
|
||||
NOTE: templates 'nogalera' and 'onemaxscale' are removed. Please use 'default' and define MDBCI labels to limit the
|
||||
number of started VMs
|
||||
|
||||
Template name|Description
|
||||
---|---
|
||||
```nogalera``` |only 1 VM for Maxscale and 4 for Master/Slaves|
|
||||
```twomaxscales``` |2 VMs for Maxscale and 4 for Master/Slaves|
|
||||
```onemaxscale``` |1 VM for Maxscale, 4 for Master/Slaves and 4 for Galera|
|
||||
```big``` |1 VM for Maxscale, 8 for Master/Slaves and 4 for Galera|
|
||||
```big15``` |1 VM for Maxscale, 15 for Master/Slaves and 4 for Galera|
|
||||
|
||||
@ -45,8 +45,7 @@ Template can contain references to any environmental variables - they all
|
||||
will be replaced with values before VMs starting
|
||||
|
||||
The [maxscale-system-test/mdbci/run_test.sh](run_test.sh) script
|
||||
brings test VMs configuration up and tries to execute
|
||||
```maxscale-system-test``` using 'ctest'.
|
||||
Executes ```maxscale-system-test``` using 'ctest'.
|
||||
|
||||
Script can be executed without any parameters and without defining any
|
||||
environmental variables.
|
||||
@ -58,12 +57,22 @@ VMs will not be destroyed after the tests.
|
||||
The name of test run (and name of VMs set) is generated based on ```box``` parameter
|
||||
and current date/time
|
||||
|
||||
Only needed VMs will be started. Every test has labels like ```REPL_BACKEND```,
|
||||
```GALERA_BACKEND```
|
||||
|
||||
Test can be executed directly by calling its executable from command line or ```ctest```
|
||||
Every test checks running VMs, brings up VMs if they are not running, checks backend.
|
||||
If backend is broken test tries to fix it. If attempt to fix backend failed test tries
|
||||
to execute ```mdbci``` with ```--recreate``` option. In this case ```mdbci``` kills all VMs and
|
||||
brings up new ones
|
||||
|
||||
### Basic run_test.sh parameters
|
||||
|
||||
Variable name|Meaning
|
||||
---|---
|
||||
```target``` |name of binary repository to install Maxscale from|
|
||||
```box``` |Vagrant box to be used to create VMs |
|
||||
```box``` |Vagrant box to be used to create Maxscale VMs |
|
||||
```backend_box``` |Vagrant box to be used to create backend VMs |
|
||||
```test_set``` |Set of test to be executed in the 'ctest' format|
|
||||
```version```|Version of DB server in Master/Slave backend|
|
||||
```galera_version```|Version of DB server in Galera backend|
|
||||
@ -71,7 +80,7 @@ Variable name|Meaning
|
||||
```template```|Name of *.json.template file with VMs descriptions in MDBCI format|
|
||||
```team_keys```|Path to the file with public ssh keys - this file is loaded to VMs|
|
||||
```do_not_destroy_vm```|if 'yes' VMs stay alive after test|
|
||||
```name```|The name of test run - any string to identify VMs set|
|
||||
```mdbci_config_name```|The name of test run - any string to identify VMs set|
|
||||
|
||||
|
||||
For complete list of environmental variables see comments in
|
||||
@ -97,38 +106,22 @@ If ```galera_version``` is not defined the value of ```version``` is used also f
|
||||
|
||||
After execution of 'run_test.sh` by default VMs stay alive and other tests can be executed.
|
||||
|
||||
Test use environmental variables to get all infio about test setup (about VMs).
|
||||
Test use ```${MDBCI_VM_PATH}/${mdbci_config_name}_network_config``` file to get all info about test setup (about VMs).
|
||||
|
||||
The script [maxscale-system-test/mdbci/set_env.sh](set_env.sh)
|
||||
loads all needed values (IPs, paths to ssh keyfiles,
|
||||
user names, etc) into environmental variables. Script uses
|
||||
data from ```${MDBCI_VM_PATH}/${name}_network_config``` file
|
||||
and also calls MDBCI commands.
|
||||
NOTE: enviromental variables are not in use any more to describe backend. However test sets all these variables inside itself
|
||||
and any process called by test code can use enviromental variables. This way can be used to create non-c++ tests (bach, python, etc).
|
||||
|
||||
Script have to be sourced:
|
||||
TODO: describe 'non_native_setup`
|
||||
|
||||
```bash
|
||||
source ./mdbci/set_env.sh $name
|
||||
```
|
||||
The script [maxscale-system-test/mdbci/set_env.sh](set_env.sh) is not in use any more.
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
. ./mdbci/set_env.sh $name
|
||||
```
|
||||
|
||||
After it, any 'maxscale-system-test ' can be executed, e.g.:
|
||||
|
||||
```bash
|
||||
./sql_queries
|
||||
```
|
||||
|
||||
### Basic MDBCI and Vagrant operations
|
||||
|
||||
#### Restore ${name}.config_file
|
||||
|
||||
```bash
|
||||
${mdbci_dir}/mdbci show network_config $name
|
||||
${mdbci_dir}/mdbci show network_config ${mdbci_config_name}
|
||||
```
|
||||
|
||||
#### Suspend VMs
|
||||
@ -137,45 +130,29 @@ Before rebooting computer it is recommended to suspend
|
||||
Vagrant-controlled VMs
|
||||
|
||||
```bash
|
||||
cd ${MDBCI_VM_PATH}/$name
|
||||
cd ${MDBCI_VM_PATH}/${mdbci_config_name}
|
||||
vagrant suspend
|
||||
```
|
||||
|
||||
#### Resume suspended VMs
|
||||
|
||||
```bash
|
||||
cd ${MDBCI_VM_PATH}/$name
|
||||
cd ${MDBCI_VM_PATH}/${mdbci_config_name}
|
||||
vagrant resume
|
||||
```
|
||||
|
||||
#### Destroying VMs
|
||||
|
||||
```bash
|
||||
${mdbci_dir}/mdbci destroy $name
|
||||
${mdbci_dir}/mdbci destroy ${mdbci_config_name}
|
||||
```
|
||||
|
||||
#### Restoring backend
|
||||
#### Start all backend VMs
|
||||
|
||||
Every test before any actions checks backend and tries to restore it if its broken.
|
||||
To restore backend separatelly and for intial backend setup check_backend' can be used:
|
||||
Every test before any actions checks backend and brings up needed VMs.
|
||||
To bring up all backend VMs without running excuting any test 'check_backend' can be used:
|
||||
|
||||
```bash
|
||||
. ./mdbci/set_env.sh $name
|
||||
./check_backend
|
||||
```
|
||||
|
||||
#### Restoring VMs from snapshot
|
||||
|
||||
'run_test.sh' makes snapshot of all VMs before tests. The name of snapshot is 'clean'.
|
||||
|
||||
In case of problem, after 'snapshot revert' it is recommended to re-create
|
||||
${name}_network_config file, re-load environmental variables and run
|
||||
'check_backend'
|
||||
|
||||
```bash
|
||||
${mdbci_dir}/mdbci snapshot revert --path-to-nodes $name --snapshot-name clean
|
||||
${mdbci_dir}/mdbci show network_config $name
|
||||
. ./mdbci/set_env.sh $name
|
||||
./check_backend
|
||||
```
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
set -x
|
||||
rsync -a --no-o --no-g LOGS ${logs_publish_dir}
|
||||
chmod a+r ${logs_publish_dir}/*
|
||||
cp -r ${MDBCI_VM_PATH}/$name ${logs_publish_dir}
|
||||
cp ${MDBCI_VM_PATH}/${name}.json ${logs_publish_dir}
|
||||
cp -r ${MDBCI_VM_PATH}/${mdbci_config_name} ${logs_publish_dir}
|
||||
cp ${MDBCI_VM_PATH}/${mdbci_config_name}.json ${logs_publish_dir}
|
||||
|
@ -7,14 +7,11 @@ export script_dir="$(dirname $(readlink -f $0))"
|
||||
|
||||
. ${script_dir}/set_run_test_variables.sh
|
||||
|
||||
export provider=`${mdbci_dir}/mdbci show provider $box --silent 2> /dev/null`
|
||||
export backend_box=${backend_box:-"centos_7_"$provider}
|
||||
|
||||
if [ "$product" == "mysql" ] ; then
|
||||
export cnf_path=${script_dir}/cnf/mysql56
|
||||
fi
|
||||
|
||||
${mdbci_dir}/mdbci destroy $name
|
||||
mdbci destroy $name
|
||||
mkdir -p ${MDBCI_VM_PATH}/$name
|
||||
|
||||
export cnf_path="${MDBCI_VM_PATH}/$name/cnf/"
|
||||
@ -27,22 +24,20 @@ fi
|
||||
$(<${script_dir}/templates/${template}.json.template)
|
||||
" 2> /dev/null > ${MDBCI_VM_PATH}/${name}.json
|
||||
|
||||
${mdbci_dir}/mdbci --override --template ${MDBCI_VM_PATH}/${name}.json generate $name
|
||||
mdbci --override --template ${MDBCI_VM_PATH}/${name}.json generate $name
|
||||
|
||||
mkdir ${MDBCI_VM_PATH}/$name/cnf
|
||||
cp -r ${script_dir}/cnf/* ${MDBCI_VM_PATH}/$name/cnf/
|
||||
|
||||
echo "running vagrant up $provider"
|
||||
|
||||
${mdbci_dir}/mdbci up $name --attempts 3
|
||||
mdbci up $name --attempts 3 --labels MAXSCALE
|
||||
if [ $? != 0 ]; then
|
||||
echo "Error creating configuration"
|
||||
rm -f ~/vagrant_lock
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#cp ~/build-scripts/team_keys .
|
||||
${mdbci_dir}/mdbci public_keys --key ${team_keys} $name
|
||||
mdbci public_keys --key ${team_keys} $name
|
||||
|
||||
rm -f ~/vagrant_lock
|
||||
exit 0
|
||||
|
@ -16,13 +16,6 @@
|
||||
# If it is not defined, name will be automatically genereted
|
||||
# using $box and current date and time
|
||||
|
||||
# $ci_url - URL to Maxscale CI repository
|
||||
# (default "http://max-tst-01.mariadb.com/ci-repository/")
|
||||
# if build is done also locally and binaries are not uploaded to
|
||||
# max-tst-01.mariadb.com $ci_url should toint to local web server
|
||||
# e.g. http://192.168.122.1/repository (IP should be a host IP in the
|
||||
# virtual network (not 127.0.0.1))
|
||||
|
||||
# $product - 'mariadb' or 'mysql'
|
||||
|
||||
# $version - version of backend DB (e.g. '10.1', '10.2')
|
||||
@ -36,7 +29,7 @@
|
||||
# $team_keys - path to the file with open ssh keys to be
|
||||
# installed on all VMs (default ${HOME}/team_keys)
|
||||
|
||||
# $don_not_destroy_vm - if 'yes' VM won't be destored afther the test
|
||||
# $do_not_destroy_vm - if 'yes' VM won't be destored afther the test
|
||||
|
||||
# $test_set - parameters to be send to 'ctest' (e.g. '-I 1,100',
|
||||
# '-LE UNSTABLE'
|
||||
@ -58,58 +51,40 @@ export script_dir="$(dirname $(readlink -f $0))"
|
||||
rm -rf LOGS
|
||||
|
||||
export target=`echo $target | sed "s/?//g"`
|
||||
export name=`echo $name | sed "s/?//g"`
|
||||
export mdbci_config_name=`echo ${mdbci_config_name} | sed "s/?//g"`
|
||||
|
||||
export provider=`mdbci show provider $box --silent 2> /dev/null`
|
||||
export backend_box=${backend_box:-"centos_7_"$provider}
|
||||
|
||||
mdbci destroy ${mdbci_config_name}
|
||||
|
||||
. ${script_dir}/configure_log_dir.sh
|
||||
|
||||
${script_dir}/create_config.sh
|
||||
res=$?
|
||||
|
||||
ulimit -c unlimited
|
||||
if [ $res == 0 ] ; then
|
||||
. ${script_dir}/set_env.sh $name
|
||||
cd ${script_dir}/..
|
||||
mkdir build && cd build
|
||||
cmake .. -DBUILDNAME=$name -DCMAKE_BUILD_TYPE=Debug
|
||||
make
|
||||
set -x
|
||||
echo ${test_set} | grep "NAME#"
|
||||
if [ $? == 0 ] ; then
|
||||
named_test=`echo ${test_set} | sed "s/NAME#//"`
|
||||
echo ${named_test} | grep "\./"
|
||||
if [ $? != 0 ] ; then
|
||||
named_test="./"${named_test}
|
||||
fi
|
||||
fi
|
||||
cd ${script_dir}/..
|
||||
mkdir build && cd build
|
||||
cmake .. -DBUILDNAME={mdbci_config_name} -DCMAKE_BUILD_TYPE=Debug
|
||||
make
|
||||
|
||||
if [ ! -z "${named_test}" ] ; then
|
||||
eval ${named_test}
|
||||
else
|
||||
./check_backend
|
||||
if [ $? != 0 ]; then
|
||||
echo "Backend broken!"
|
||||
if [ "${do_not_destroy_vm}" != "yes" ] ; then
|
||||
${mdbci_dir}/mdbci destroy $name
|
||||
fi
|
||||
rm -f ~/vagrant_lock
|
||||
exit 1
|
||||
fi
|
||||
${mdbci_dir}/mdbci snapshot take --path-to-nodes $name --snapshot-name clean
|
||||
ctest -VV -D Nightly ${test_set}
|
||||
echo ${test_set} | grep "NAME#"
|
||||
if [ $? == 0 ] ; then
|
||||
named_test=`echo ${test_set} | sed "s/NAME#//"`
|
||||
echo ${named_test} | grep "\./"
|
||||
if [ $? != 0 ] ; then
|
||||
named_test="./"${named_test}
|
||||
fi
|
||||
cp core.* ${logs_publish_dir}
|
||||
${script_dir}/copy_logs.sh
|
||||
cd $dir
|
||||
else
|
||||
echo "Failed to create VMs, exiting"
|
||||
if [ "${do_not_destroy_vm}" != "yes" ] ; then
|
||||
${mdbci_dir}/mdbci destroy $name
|
||||
fi
|
||||
rm -f ~/vagrant_lock
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -z "${named_test}" ] ; then
|
||||
eval ${named_test}
|
||||
else
|
||||
ctest -VV -D Nightly ${test_set}
|
||||
fi
|
||||
cp core.* ${logs_publish_dir}
|
||||
${script_dir}/copy_logs.sh
|
||||
cd $dir
|
||||
|
||||
if [ "${do_not_destroy_vm}" != "yes" ] ; then
|
||||
${mdbci_dir}/mdbci destroy $name
|
||||
mdbci destroy ${mdbci_config_name}
|
||||
echo "clean up done!"
|
||||
fi
|
||||
|
@ -19,19 +19,19 @@ export dir=`pwd`
|
||||
export script_dir="$(dirname $(readlink -f $0))"
|
||||
|
||||
. ${script_dir}/set_run_test_variables.sh
|
||||
export name="$box-$product-$version-permanent"
|
||||
export mdbci_config_name="$box-$product-$version-permanent"
|
||||
|
||||
export snapshot_name=${snapshot_name:-"clean"}
|
||||
|
||||
rm -rf LOGS
|
||||
|
||||
export target=`echo $target | sed "s/?//g"`
|
||||
export name=`echo $name | sed "s/?//g"`
|
||||
export mdbci_config_name=`echo ${mdbci_config_name} | sed "s/?//g"`
|
||||
|
||||
. ${script_dir}/configure_log_dir.sh
|
||||
|
||||
# Setting snapshot_lock
|
||||
export snapshot_lock_file=${MDBCI_VM_PATH}/${name}_snapshot_lock
|
||||
export snapshot_lock_file=${MDBCI_VM_PATH}/${mdbci_config_name}_snapshot_lock
|
||||
if [ -f ${snapshot_lock_file} ]; then
|
||||
echo "Snapshot is locked, waiting ..."
|
||||
fi
|
||||
@ -43,34 +43,18 @@ done
|
||||
touch ${snapshot_lock_file}
|
||||
echo $JOB_NAME-$BUILD_NUMBER >> ${snapshot_lock_file}
|
||||
|
||||
${mdbci_dir}/mdbci snapshot revert --path-to-nodes $name --snapshot-name $snapshot_name
|
||||
mdbci snapshot revert --path-to-nodes ${mdbci_config_name} --snapshot-name ${snapshot_name}
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
${mdbci_dir}/mdbci destroy $name
|
||||
${MDBCI_VM_PATH}/scripts/clean_vms.sh $name
|
||||
mdbci destroy ${mdbci_config_name}
|
||||
${MDBCI_VM_PATH}/scripts/clean_vms.sh ${mdbci_config_name}
|
||||
|
||||
${script_dir}/create_config.sh
|
||||
checkExitStatus $? "Error creating configuration" $snapshot_lock_file
|
||||
new_config=true
|
||||
|
||||
echo "Creating snapshot from new config"
|
||||
${mdbci_dir}/mdbci snapshot take --path-to-nodes $name --snapshot-name $snapshot_name
|
||||
fi
|
||||
|
||||
. ${script_dir}/set_env.sh "$name"
|
||||
|
||||
if [ ${maxscale_N} -gt 1 ] ; then
|
||||
maxscales_vm=`env | grep maxscale | grep network | sed 's/_network.*//' | grep "_"`
|
||||
else
|
||||
maxscales_vm="maxscale"
|
||||
fi
|
||||
|
||||
for maxscale_vm_name in ${maxscales_vm}
|
||||
do
|
||||
${mdbci_dir}/mdbci sudo --command 'yum remove maxscale -y' $name/${maxscale_vm_name}
|
||||
${mdbci_dir}/mdbci sudo --command 'yum clean all' $name/${maxscale_vm_name}
|
||||
|
||||
${mdbci_dir}/mdbci setup_repo --product maxscale_ci --product-version ${target} $name/${maxscale_vm_name}
|
||||
${mdbci_dir}/mdbci install_product --product maxscale_ci $name/${maxscale_vm_name}
|
||||
|
||||
checkExitStatus $? "Error installing Maxscale" $snapshot_lock_file
|
||||
done
|
||||
@ -83,9 +67,15 @@ mkdir build && cd build
|
||||
cmake .. -DBUILDNAME=$JOB_NAME-$BUILD_NUMBER-$target -DBUILD_SYSTEM_TESTS=Y -DCMAKE_BUILD_TYPE=Debug
|
||||
make
|
||||
|
||||
./check_backend --restart-galera
|
||||
|
||||
./check_backend --restart-galera --reinstall-maxscale
|
||||
checkExitStatus $? "Failed to check backends" $snapshot_lock_file
|
||||
|
||||
if [${new_config}] == "true" ; then
|
||||
echo "Creating snapshot from new config"
|
||||
mdbci snapshot take --path-to-nodes ${mdbci_config_name} --snapshot-name $snapshot_name
|
||||
fi
|
||||
|
||||
|
||||
ulimit -c unlimited
|
||||
ctest $test_set -VV -D Nightly
|
||||
cp core.* ${logs_publish_dir}
|
||||
|
@ -1,87 +1,2 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
echo $*
|
||||
export MDBCI_VM_PATH=${MDBCI_VM_PATH:-$HOME/vms}
|
||||
export mdbci_dir=${mdbci_dir:-"$HOME/mdbci/"}
|
||||
|
||||
export config_name="$1"
|
||||
if [ -z $1 ] ; then
|
||||
config_name="test1"
|
||||
fi
|
||||
|
||||
export curr_dir=`pwd`
|
||||
|
||||
export maxscale_binlog_dir="/var/lib/maxscale/Binlog_Service"
|
||||
export maxdir="/usr/bin/"
|
||||
export maxdir_bin="/usr/bin/"
|
||||
export maxscale_cnf="/etc/maxscale.cnf"
|
||||
export maxscale_log_dir="/var/log/maxscale/"
|
||||
|
||||
# Number of nodes
|
||||
export galera_N=`cat "$MDBCI_VM_PATH/$config_name"_network_config | grep galera | grep network | wc -l`
|
||||
export node_N=`cat "$MDBCI_VM_PATH/$config_name"_network_config | grep node | grep network | wc -l`
|
||||
export maxscale_N=`cat "$MDBCI_VM_PATH/$config_name"_network_config | grep maxscale | grep network | wc -l`
|
||||
sed "s/^/export /g" "$MDBCI_VM_PATH/$config_name"_network_config > "$curr_dir"/"$config_name"_network_config_export
|
||||
source "$curr_dir"/"$config_name"_network_config_export
|
||||
rm "$curr_dir"/"$config_name"_network_config_export
|
||||
|
||||
|
||||
# User name and Password for Master/Slave replication setup (should have all PRIVILEGES)
|
||||
export node_user="skysql"
|
||||
export node_password="skysql"
|
||||
|
||||
# User name and Password for Galera setup (should have all PRIVILEGES)
|
||||
export galera_user="skysql"
|
||||
export galera_password="skysql"
|
||||
|
||||
export maxscale_user="skysql"
|
||||
export maxscale_password="skysql"
|
||||
|
||||
export maxadmin_password="mariadb"
|
||||
|
||||
for prefix in "node" "galera" "maxscale"
|
||||
do
|
||||
N_var="$prefix"_N
|
||||
Nx=${!N_var}
|
||||
N=`expr $Nx - 1`
|
||||
for i in $(seq 0 $N)
|
||||
do
|
||||
num=`printf "%03d" $i`
|
||||
eval 'export "$prefix"_"$num"_port=3306'
|
||||
eval 'export "$prefix"_"$num"_access_sudo=sudo'
|
||||
|
||||
start_cmd_var="$prefix"_"$num"_start_db_command
|
||||
stop_cmd_var="$prefix"_"$num"_stop_db_command
|
||||
eval 'export $start_cmd_var="service mysql start "'
|
||||
eval 'export $stop_cmd_var="service mysql stop "'
|
||||
eval 'export "$prefix"_"$num"_start_vm_command="cd ${MDBCI_VM_PATH}/$config_name;vagrant resume ${prefix}_$num ; cd $curr_dir"'
|
||||
eval 'export "$prefix"_"$num"_stop_vm_command="cd ${MDBCI_VM_PATH}/$config_name;vagrant suspend ${prefix}_$num ; cd $curr_dir"'
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
export maxscale_access_sudo="sudo "
|
||||
|
||||
# IP Of MaxScale machine
|
||||
if [ ${maxscale_N} -gt 1 ] ; then
|
||||
export maxscale_whoami=$maxscale_000_whoami
|
||||
export maxscale_network=$maxscale_000_network
|
||||
export maxscale_keyfile=$maxscale_000_keyfile
|
||||
export maxscale_sshkey=$maxscale_000_keyfile
|
||||
fi
|
||||
|
||||
export maxscale_IP=$maxscale_network
|
||||
export maxscale_access_user=$maxscale_whoami
|
||||
|
||||
# Sysbench directory (should be sysbench >= 0.5)
|
||||
sb=`which sysbench`
|
||||
export sysbench_dir=$(dirname ${sb})
|
||||
#export sysbench_dir=${sysbench_dir:-""}
|
||||
|
||||
export ssl=true
|
||||
|
||||
export take_snapshot_command="${mdbci_dir}/mdbci snapshot take --path-to-nodes ${config_name} --snapshot-name "
|
||||
export revert_snapshot_command="${mdbci_dir}/mdbci snapshot revert --path-to-nodes ${config_name} --snapshot-name "
|
||||
#export use_snapshots=yes
|
||||
|
||||
set +x
|
||||
export PATH=$PATH:$HOME/mdbci/
|
||||
|
@ -1,31 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
export MDBCI_VM_PATH=${MDBCI_VM_PATH:-$HOME/vms}
|
||||
mkdir -p $MDBCI_VM_PATH
|
||||
echo "MDBCI_VM_PATH=$MDBCI_VM_PATH"
|
||||
|
||||
export box=${box:-"centos_7_libvirt"}
|
||||
echo "box=$box"
|
||||
|
||||
export template=${template:-"default"}
|
||||
|
||||
export MDBCI_VM_PATH=${MDBCI_VM_PATH:-"$HOME/vms/"}
|
||||
export curr_date=`date '+%Y-%m-%d_%H-%M'`
|
||||
export mdbci_config_name=${name:-$box-${curr_date}}
|
||||
|
||||
export name=${name:-$box-${curr_date}}
|
||||
export PATH=$PATH:$HOME/mdbci/
|
||||
|
||||
export mdbci_dir=${mdbci_dir:-"$HOME/mdbci/"}
|
||||
export ci_url=${ci_url:-"http://max-tst-01.mariadb.com/ci-repository/"}
|
||||
|
||||
export product=${product:-"mariadb"}
|
||||
export version=${version:-"10.2"}
|
||||
export target=${target:-"develop"}
|
||||
export vm_memory=${vm_memory:-"2048"}
|
||||
export JOB_NAME=${JOB_NAME:-"local_test"}
|
||||
export BUILD_NUMBER=${BUILD_NUMBER:-`date '+%Y%m%d%H%M'`}
|
||||
export BUILD_TAG=${BUILD_TAG:-jenkins-${JOB_NAME}-${BUILD_NUMBER}}
|
||||
export team_keys=${team_keys:-${HOME}/team_keys}
|
||||
export galera_version=${galera_version:-$version}
|
||||
export do_not_destroy_vm=${do_not_destroy_vm:-"yes"}
|
||||
#export test_set=${test_set:-"-LE UNSTABLE"}
|
||||
export test_set=${test_set:-"-I 1,5"}
|
||||
|
@ -3,6 +3,9 @@
|
||||
{
|
||||
"hostname" : "node000",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -16,6 +19,9 @@
|
||||
{
|
||||
"hostname" : "node001",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -28,6 +34,9 @@
|
||||
{
|
||||
"hostname" : "node002",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -40,6 +49,9 @@
|
||||
{
|
||||
"hostname" : "node003",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -51,6 +63,9 @@
|
||||
{
|
||||
"hostname" : "node004",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -62,6 +77,9 @@
|
||||
{
|
||||
"hostname" : "node005",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -73,6 +91,9 @@
|
||||
{
|
||||
"hostname" : "node006",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -84,6 +105,9 @@
|
||||
{
|
||||
"hostname" : "node007",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -96,6 +120,9 @@
|
||||
{
|
||||
"hostname" : "galera000",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -108,6 +135,9 @@
|
||||
{
|
||||
"hostname" : "galera001",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -120,6 +150,9 @@
|
||||
{
|
||||
"hostname" : "galera002",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -132,6 +165,9 @@
|
||||
{
|
||||
"hostname" : "galera003",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -140,10 +176,13 @@
|
||||
}
|
||||
},
|
||||
|
||||
"maxscale" :
|
||||
"maxscale_000" :
|
||||
{
|
||||
"hostname" : "maxscale",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"MAXSCALE"
|
||||
],
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
|
@ -3,6 +3,9 @@
|
||||
{
|
||||
"hostname" : "node_000",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -16,6 +19,9 @@
|
||||
{
|
||||
"hostname" : "node_001",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -28,6 +34,9 @@
|
||||
{
|
||||
"hostname" : "node_002",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -40,6 +49,9 @@
|
||||
{
|
||||
"hostname" : "node_003",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -51,6 +63,9 @@
|
||||
{
|
||||
"hostname" : "node_004",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -62,6 +77,9 @@
|
||||
{
|
||||
"hostname" : "node_005",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -73,6 +91,9 @@
|
||||
{
|
||||
"hostname" : "node_006",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -84,6 +105,9 @@
|
||||
{
|
||||
"hostname" : "node_007",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -95,6 +119,9 @@
|
||||
{
|
||||
"hostname" : "node_008",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -106,6 +133,9 @@
|
||||
{
|
||||
"hostname" : "node_009",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -117,6 +147,9 @@
|
||||
{
|
||||
"hostname" : "node_0010",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -128,6 +161,9 @@
|
||||
{
|
||||
"hostname" : "node_0011",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -139,6 +175,9 @@
|
||||
{
|
||||
"hostname" : "node_0012",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -150,6 +189,9 @@
|
||||
{
|
||||
"hostname" : "node_0013",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -161,6 +203,9 @@
|
||||
{
|
||||
"hostname" : "node_0014",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -173,6 +218,9 @@
|
||||
{
|
||||
"hostname" : "galera_000",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -185,6 +233,9 @@
|
||||
{
|
||||
"hostname" : "galera_001",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -197,6 +248,9 @@
|
||||
{
|
||||
"hostname" : "galera_002",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -209,6 +263,9 @@
|
||||
{
|
||||
"hostname" : "galera_003",
|
||||
"box" : "centos_7_aws",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -217,10 +274,13 @@
|
||||
}
|
||||
},
|
||||
|
||||
"maxscale" :
|
||||
"maxscale_000" :
|
||||
{
|
||||
"hostname" : "maxscale",
|
||||
"box" : "centos_7_aws_large",
|
||||
"labels" : [
|
||||
"MAXSCALE"
|
||||
],
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
|
@ -4,6 +4,9 @@
|
||||
"hostname" : "node000",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -18,6 +21,9 @@
|
||||
"hostname" : "node001",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -31,6 +37,9 @@
|
||||
"hostname" : "node002",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -44,6 +53,9 @@
|
||||
"hostname" : "node003",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"REPL_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
@ -57,6 +69,9 @@
|
||||
"hostname" : "galera000",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -70,6 +85,9 @@
|
||||
"hostname" : "galera001",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -83,6 +101,9 @@
|
||||
"hostname" : "galera002",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -96,6 +117,9 @@
|
||||
"hostname" : "galera003",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"GALERA_BACKEND"
|
||||
],
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
@ -109,6 +133,9 @@
|
||||
"hostname" : "maxscale",
|
||||
"box" : "${box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"MAXSCALE"
|
||||
],
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
@ -121,6 +148,9 @@
|
||||
"hostname" : "maxscale2",
|
||||
"box" : "${box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"labels" : [
|
||||
"SECOND_MAXSCALE"
|
||||
],
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
|
@ -1,66 +0,0 @@
|
||||
{
|
||||
"node_000" :
|
||||
{
|
||||
"hostname" : "node000",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server1.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
"node_001" :
|
||||
{
|
||||
"hostname" : "node001",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server2.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"node_002" :
|
||||
{
|
||||
"hostname" : "node002",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server3.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"node_003" :
|
||||
{
|
||||
"hostname" : "node003",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server4.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"maxscale_000" :
|
||||
{
|
||||
"hostname" : "maxscale1",
|
||||
"box" : "${box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
{
|
||||
"node_000" :
|
||||
{
|
||||
"hostname" : "node000",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server1.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
"node_001" :
|
||||
{
|
||||
"hostname" : "node001",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server2.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"node_002" :
|
||||
{
|
||||
"hostname" : "node002",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server3.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"node_003" :
|
||||
{
|
||||
"hostname" : "node003",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server4.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"galera_000" :
|
||||
{
|
||||
"hostname" : "galera000",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
"cnf_template" : "galera_server1.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"galera_001" :
|
||||
{
|
||||
"hostname" : "galera001",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
"cnf_template" : "galera_server2.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"galera_002" :
|
||||
{
|
||||
"hostname" : "galera002",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
"cnf_template" : "galera_server3.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"galera_003" :
|
||||
{
|
||||
"hostname" : "galera003",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "galera",
|
||||
"version": "${galera_version}",
|
||||
"cnf_template" : "galera_server4.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"maxscale" :
|
||||
{
|
||||
"hostname" : "maxscale",
|
||||
"box" : "${box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
{
|
||||
"node_000" :
|
||||
{
|
||||
"hostname" : "node000",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server1.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
"node_001" :
|
||||
{
|
||||
"hostname" : "node001",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server2.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"node_002" :
|
||||
{
|
||||
"hostname" : "node002",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server3.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"node_003" :
|
||||
{
|
||||
"hostname" : "node003",
|
||||
"box" : "${backend_box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name": "${product}",
|
||||
"version": "${version}",
|
||||
"cnf_template" : "server4.cnf",
|
||||
"cnf_template_path": "${cnf_path}"
|
||||
}
|
||||
},
|
||||
|
||||
"maxscale_000" :
|
||||
{
|
||||
"hostname" : "maxscale",
|
||||
"box" : "${box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
"maxscale_001" :
|
||||
{
|
||||
"hostname" : "maxscale",
|
||||
"box" : "${box}",
|
||||
"memory_size" : "${vm_memory}",
|
||||
"product" : {
|
||||
"name" : "maxscale_ci",
|
||||
"version" : "${target}"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user