
'build' and 'run_test' copies public ssh keys to all created VMs Legacy code takes keys from different locations, e.g. ~/build-scripts/team_keys which causes errors due to lack of such files. Now public keys goes from file defined on or if not defined from .ssh/id_rsa.pub of current host machine
16 lines
550 B
Bash
16 lines
550 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}/.ssh/id_rsa.pub}
|
|
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"}
|