~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to deploy-job

  • Committer: Aaron Bentley
  • Date: 2014-01-14 17:07:46 UTC
  • mto: This revision was merged to the branch mainline in revision 160.
  • Revision ID: aaron@canonical.com-20140114170746-t2dnqcdhs9lc8a6u
Support a local prefix and repository for deployment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
source $SCRIPTS/common-startup.sh
3
3
# Do the deployment for upgrade testing.
4
4
EXIT_STATUS=0
5
 
PATH=$NEW_PATH $SCRIPTS/deploy_stack.py $ENV || EXIT_STATUS=$?
 
5
JUJU_REPOSITORY=$HOME/repository PATH=$NEW_PATH $SCRIPTS/deploy_stack.py \
 
6
  $ENV "$@" || EXIT_STATUS=$?
6
7
if [ $EXIT_STATUS -ne 0 ]; then
7
8
  dump_logs
8
9
fi