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 # checkout the commit that was used for building the downloaded artifact
13 # to make sure the ISO and deployment mechanism uses same versions
14 echo "Checking out $OPNFV_GIT_SHA1"
15 git checkout $OPNFV_GIT_SHA1 --quiet
17 # create TMPDIR if it doesn't exist
18 export TMPDIR=$HOME/tmpdir
21 # change permissions down to TMPDIR
29 echo "Starting the deployment using $INSTALLER_TYPE. This could take some time..."
30 echo "--------------------------------------------------------"
33 # start the deployment
34 echo "Issuing command"
35 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"
37 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
40 echo "--------------------------------------------------------"