| #!/bin/bash |
| |
| set -o errexit |
| set -o nounset |
| set -o pipefail |
| |
| cd $WORKSPACE |
| echo "Info: Cleaning the previous deployment" |
| echo "-------------------------------------------------------------------------" |
| ./stop.sh |
| echo "-------------------------------------------------------------------------" |
| echo "Info: Deploying the new version of nolabs" |
| echo "-------------------------------------------------------------------------" |
| ./start.sh |
| echo "-------------------------------------------------------------------------" |
| echo "Info: Deployment successful!" |