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

« back to all changes in this revision

Viewing changes to assemble-parallel-streams.bash

  • Committer: Aaron Bentley
  • Date: 2016-07-08 14:26:06 UTC
  • mfrom: (1465.1.14 client-from-config-5)
  • mto: This revision was merged to the branch mainline in revision 1509.
  • Revision ID: aaron.bentley@canonical.com-20160708142606-4x5rpd5c9jw9bn6n
Merged client-from-config-5 into client-from-config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
set -eu
3
 
export JUJU_HOME=${JUJU_HOME:-$HOME/cloud-city}
 
3
export JUJU_HOME=$HOME/cloud-city
4
4
source $JUJU_HOME/juju-qa.jujuci
5
5
set -x
6
6
revision_build=$1
17
17
mkdir $WS_JSON
18
18
mkdir -p $WS_AGENTS
19
19
for job in $AGENT_JOBS; do
20
 
  s3ci.py get $revision_build $job '.*\.tgz' $WS_AGENTS
21
 
  s3ci.py get $revision_build $job '.*\.json' $WS_JSON
 
20
  jujuci.py get -b lastBuild $job '*.tgz' $WS_AGENTS
 
21
  jujuci.py get -b lastBuild $job '*.json' $WS_JSON
22
22
done
23
23
set_stream.py $AGENT_JSON/release.json \
24
24
  $WS_JSON/release-$revision_build.json $revision_build