#!/bin/sh

fab target.stage app.main.setup app.service.setup app.checker.setup app.service.ban_varnish
fab target.stage app.admin.all app.main.all app.checker.all app.service.all

EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ];then
   echo "fabric returned $EXIT_STATUS! Exiting!"
   exit $EXIT_STATUS
fi

fab target.stage -R main server.restart_tomcat



Add job to update stage
Add job to update stage
