~sinzui/juju-ci-tools/cloudsigma-lib

1027.1.1 by Aaron Bentley
Support running deploy jobs via workspace-runner
1
#!/bin/bash
2
# Script to run run-deploy-job compatibly with workspace-runner.  It takes
3
# revision_build and job_name as first parameters, the rest like
4
# run-deploy-job.  Workspace is assumed to be pwd.
5
set -eux
6
export revision_build=$1
7
export JOB_NAME=$2
8
export WORKSPACE=$(pwd)
9
SCRIPTS=$(readlink -f $(dirname $0))
10
shift 2
11
$SCRIPTS/run-deploy-job.bash "$@"