summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv/compass-deploy-bare.sh
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2016-01-26 01:57:48 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-26 01:57:49 +0000
commit9ea31fe97314f1228d115c450e724946c8b3c624 (patch)
treeff6ad92bdcc48cb4ba30a3ccae7e9b72d5b01e5f /jjb/compass4nfv/compass-deploy-bare.sh
parentff49e027e64bd8a6eaafbf7b8306649b68476d27 (diff)
parent918fd9b590cff5c50ac28872a61cc542822e9a99 (diff)
Merge "[compass] merge the scripts of compass-deploy-bare.sh and compass-deploy-virtual"
Diffstat (limited to 'jjb/compass4nfv/compass-deploy-bare.sh')
-rw-r--r--jjb/compass4nfv/compass-deploy-bare.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/jjb/compass4nfv/compass-deploy-bare.sh b/jjb/compass4nfv/compass-deploy-bare.sh
deleted file mode 100644
index dc0aeb29d..000000000
--- a/jjb/compass4nfv/compass-deploy-bare.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-set -x
-
-# log info to console
-echo "Starting the deployment on baremetal environment using $INSTALLER_TYPE. This could take some time..."
-echo "--------------------------------------------------------"
-echo
-
-export CONFDIR=$WORKSPACE/deploy/conf/hardware_environment/$NODE_NAME
-export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
-export INSTALL_NIC=eth0
-
-cd $WORKSPACE
-
-export OS_VERSION=${{COMPASS_OS_VERSION}}
-export OPENSTACK_VERSION=${{COMPASS_OPENSTACK_VERSION}}
-./deploy.sh --dha $CONFDIR/${{DEPLOY_SCENARIO}}.yml --network $CONFDIR/network.yml
-if [ $? -ne 0 ]; then
- echo "depolyment failed!"
- deploy_ret=1
-fi
-
-echo
-echo "--------------------------------------------------------"
-echo "Done!"
-
-ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
-sshpass -p root scp 2>/dev/null $ssh_options root@${{INSTALLER_IP}}:/var/ansible/run/openstack_${{COMPASS_OPENSTACK_VERSION}}-opnfv2/ansible.log ./ &> /dev/null
-
-exit $deploy_ret