Merge lp:~ev/ubuntu-ci-services-itself/swift-payloads-by-default into lp:ubuntu-ci-services-itself

Proposed by Evan
Status: Merged
Approved by: Andy Doan
Approved revision: 242
Merged at revision: 252
Proposed branch: lp:~ev/ubuntu-ci-services-itself/swift-payloads-by-default
Merge into: lp:ubuntu-ci-services-itself
Diff against target: 26 lines (+5/-4)
1 file modified
juju-deployer/deploy.py (+5/-4)
To merge this branch: bzr merge lp:~ev/ubuntu-ci-services-itself/swift-payloads-by-default
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Andy Doan (community) Approve
Canonical CI Engineering Pending
Review via email: mp+206857@code.launchpad.net

Commit message

Uploading the code payload to Swift is now the default method.

Description of the change

This branch makes uploading the code payload to Swift the default. This means:

- Anyone who runs deploy.py from a branch with changes gets those changes deployed.
- The Tarmac instance can test the code payload of the branch being merged, not the tip of trunk.

So it strikes me that this should be the default over the branch-based payload (now --branch-payload) which supports neither.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:242
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/163/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/163/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Andy Doan (doanac) wrote :

As I've personally forgotten to include this option more than once, I think this is probably a more usable approach :)

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:242
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/168/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/168/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:242
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/169/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/169/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:242
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/170/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/170/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:242
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/189/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/189/rebuild

review: Approve (continuous-integration)
Revision history for this message
Chris Johnston (cjohnston) wrote :
Download full text (25.6 KiB)

The attempt to merge lp:~ev/ubuntu-ci-services-itself/swift-payloads-by-default into lp:ubuntu-ci-services-itself failed. Below is the output from the failed tests.

New python executable in /tmp/tmp.QG4aIVHGev/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
== Testing ci-utils ....
Downloading/unpacking python-swiftclient==1.8.0
  Running setup.py egg_info for package python-swiftclient

    Installed /tmp/tmp.QG4aIVHGev/build/python-swiftclient/pbr-0.6-py2.7.egg
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no files found matching '*' under directory 'tools'
Downloading/unpacking simplejson>=2.0.9 (from python-swiftclient==1.8.0)
  Running setup.py egg_info for package simplejson

Installing collected packages: python-swiftclient, simplejson
  Running setup.py install for python-swiftclient
    [pbr] Reusing existing SOURCES.txt
    changing mode of build/scripts-2.7/swift from 664 to 775
    changing mode of /tmp/tmp.QG4aIVHGev/bin/swift to 775
  Running setup.py install for simplejson
    building 'simplejson._speedups' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c simplejson/_speedups.c -o build/temp.linux-x86_64-2.7/simplejson/_speedups.o
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/simplejson/_speedups.o -o build/lib.linux-x86_64-2.7/simplejson/_speedups.so

Successfully installed python-swiftclient simplejson
Cleaning up...
Downloading/unpacking python-glanceclient==0.12.0
  Running setup.py egg_info for package python-glanceclient

    Installed /tmp/tmp.QG4aIVHGev/build/python-glanceclient/pbr-0.6-py2.7.egg
    [pbr] Excluding argparse: Python 2.6 only dependency
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
Downloading/unpacking pbr>=0.5.21,<1.0 (from python-glanceclient==0.12.0)
  Running setup.py egg_info for package pbr
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in dis...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'juju-deployer/deploy.py'
2--- juju-deployer/deploy.py 2014-02-17 10:13:29 +0000
3+++ juju-deployer/deploy.py 2014-02-18 08:13:22 +0000
4@@ -183,9 +183,10 @@
5 def _get_args(args=None):
6 parser = argparse.ArgumentParser(
7 description='use juju-deployer to deploy services')
8- parser.add_argument('--swift-payload', action='store_true',
9- help='''Upload this branch as a tarball to swift and
10- use it as the code-base rather than bzr branches.''')
11+ parser.add_argument('--branch-payload', action='store_true',
12+ help='''Use the current tip of this payload branch for
13+ the code-base rather than a tarball of the current
14+ directory.''')
15 parser.add_argument('specific', metavar='<config.yaml>', nargs='*',
16 help='Use a specific list of juju-deployer configs.')
17
18@@ -208,7 +209,7 @@
19 shutil.copytree(deployer_dir, working_dir)
20
21 setup_env()
22- if args.swift_payload:
23+ if not args.branch_payload:
24 setup_swift()
25
26 # Create .yaml files from .yaml.tmpl files.

Subscribers

People subscribed via source and target branches

to all changes: