6 # source the file so we get OPNFV vars
7 source latest.properties
9 # echo the info about artifact that is used during the deployment
10 echo "Using $(echo $OPNFV_ARTIFACT_URL | cut -d'/' -f3) for deployment"
12 # create TMPDIR if it doesn't exist
13 export TMPDIR=$HOME/tmpdir
16 # change permissions down to TMPDIR
23 # clone genesis repo and checkout the SR1 tag
24 #echo "Cloning genesis repo"
26 #GIT_SSL_NO_VERIFY=true git clone https://gerrit.opnfv.org/gerrit/genesis genesis
28 #git checkout arno.2015.2.0
31 #sudo $WORKSPACE/genesis/common/ci/clean.sh -base_config $WORKSPACE/genesis/foreman/ci/inventory/lf_pod2_ksgen_settings.yml
33 # prepare for Fuel Deployment
34 #sudo $WORKSPACE/genesis/common/ci/setup.sh
37 echo "Starting the deployment using $INSTALLER_TYPE. This could take some time..."
38 echo "--------------------------------------------------------"
41 # start the deployment
42 echo "Issuing command"
43 echo "sudo $WORKSPACE/ci/deploy.sh -iso $WORKSPACE/opnfv.iso -dea $POD_CONF_DIR/dea.yaml -dha $POD_CONF_DIR/dha.yaml -s $TMPDIR -b $BRIDGE -nh"
45 sudo $WORKSPACE/ci/deploy.sh -iso $WORKSPACE/opnfv.iso -dea $POD_CONF_DIR/dea.yaml -dha $POD_CONF_DIR/dha.yaml -s $TMPDIR -b $BRIDGE -nh
48 echo "--------------------------------------------------------"