Files
MaxScale/system-test/mdbci/mdbci_wrapper
Timofey Turenko 7c68c396a2 system-test works with production version of Maxscale
Every change to MariaDB Enterprise should be tested with Maxscale.
Maxscale should be stable - installed from production repository.
New enviromental variable 'maxscale_product' is introduced.
It can be 'maxscale' or 'maxscale_ci' (default is 'maxscale_ci')
2020-12-23 04:06:35 +02:00

9 lines
497 B
Plaintext

export user=${host_user} 2>&1 >/dev/null
export ip=${host_ip} 2>&1 >/dev/null
export host=$user@$ip 2>&1 >/dev/null
sshopt="-q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=120 "
rsync -avz --progress -e "ssh $sshopt" ${MDBCI_VM_PATH}/ $host:${MDBCI_VM_PATH}/ 2>&1 >/dev/null
ssh $sshopt $host "MDBCI_VM_PATH=${MDBCI_VM_PATH} ${MDBCI_EXECUTABLE} $*" 2>/dev/null
rsync -avz --progress -e "ssh $sshopt" $host:${MDBCI_VM_PATH}/ ${MDBCI_VM_PATH}/ 2>&1 >/dev/null