diff options
author | Tim Rozet <trozet@redhat.com> | 2015-10-26 15:51:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-10-26 15:51:30 +0000 |
commit | 7243b9793ea87c3070a032b69c01d779a7c8cbfd (patch) | |
tree | 83010e3673acec7fc9c9839a7136069f127261f2 /compass/ci/launch.sh | |
parent | 6f816a8546224dcce14fd6dddeb0c9252f69a1c7 (diff) | |
parent | de3139313cb7e3087e3328d1b37cdc88510ca5db (diff) |
Merge "Remove Compass from genesis."
Diffstat (limited to 'compass/ci/launch.sh')
-rwxr-xr-x | compass/ci/launch.sh | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/compass/ci/launch.sh b/compass/ci/launch.sh deleted file mode 100755 index 316b06f..0000000 --- a/compass/ci/launch.sh +++ /dev/null @@ -1,65 +0,0 @@ -#set -x -WORK_DIR=$COMPASS_DIR/ci/work - -if [[ $# -ge 1 ]];then - CONF_NAME=$1 -else - CONF_NAME=cluster -fi - -source ${COMPASS_DIR}/ci/log.sh -source ${COMPASS_DIR}/deploy/conf/${CONF_NAME}.conf -source ${COMPASS_DIR}/deploy/prepare.sh -source ${COMPASS_DIR}/deploy/network.sh - -if [[ ! -z $VIRT_NUMBER ]];then - source ${COMPASS_DIR}/deploy/host_vm.sh -else - source ${COMPASS_DIR}/deploy/host_baremetal.sh -fi - -source ${COMPASS_DIR}/deploy/compass_vm.sh -source ${COMPASS_DIR}/deploy/deploy_host.sh - -######################### main process - -if ! prepare_env;then - echo "prepare_env failed" - exit 1 -fi - -log_info "########## get host mac begin #############" -machines=`get_host_macs` -if [[ -z $machines ]];then - log_error "get_host_macs failed" - exit 1 -fi - -log_info "deploy host macs: $machines" -export machines - -log_info "########## set up network begin #############" -if ! create_nets;then - log_error "create_nets failed" - exit 1 -fi - -if ! launch_compass;then - log_error "launch_compass failed" - exit 1 -fi -if [[ ! -z $VIRT_NUMBER ]];then - if ! launch_host_vms;then - log_error "launch_host_vms failed" - exit 1 - fi -fi -if ! deploy_host;then - #tear_down_machines - #tear_down_compass - exit 1 -else - #tear_down_machines - #tear_down_compass - exit 0 -fi |