~juju-qa/juju-ci-tools/trunk

« back to all changes in this revision

Viewing changes to assemble-parallel-streams.bash

  • Committer: Curtis Hovey
  • Date: 2016-06-14 00:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1855.
  • Revision ID: curtis@canonical.com-20160614004629-s5qywybkj7lg1lei
Replace all jujuci.py.get call with s3ci.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
AGENT_DIRNAME=revision-build-$revision_build
14
14
WS_AGENTS=$WORKSPACE/agent/$AGENT_DIRNAME
15
15
TESTING_AGENTS=$TESTING/agent/$AGENT_DIRNAME
16
 
VERSION=$(jujuci.py get-build-vars $revision_build --version)
 
16
# set VERSION from buildvars.
 
17
source $(s3ci.py get $revision_build build-revision buildvars.bash)
17
18
mkdir $WS_JSON
18
19
mkdir -p $WS_AGENTS
19
20
for job in $AGENT_JOBS; do
20
 
  jujuci.py get -b lastBuild $job '*.tgz' $WS_AGENTS
21
 
  jujuci.py get -b lastBuild $job '*.json' $WS_JSON
 
21
  s3ci.py get $revision_build $job '.*.tgz' $WS_AGENTS
 
22
  s3ci.py get $revision_build $job '.*.json' $WS_JSON
22
23
done
23
24
set_stream.py $AGENT_JSON/release.json \
24
25
  $WS_JSON/release-$revision_build.json $revision_build