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
		
			
				
	
	
		
			16 lines
		
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
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 PATH=$PATH:$HOME/mdbci/
 | 
						|
 | 
						|
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 do_not_destroy_vm=${do_not_destroy_vm:-"yes"}
 | 
						|
#export test_set=${test_set:-"-LE UNSTABLE"}
 | 
						|
export test_set=${test_set:-"-I 1,5"}
 |