Merge lp:~cjohnston/qa-dashboard/uu into lp:qa-dashboard

Proposed by Chris Johnston
Status: Merged
Approved by: Joe Talbott
Approved revision: 737
Merged at revision: 737
Proposed branch: lp:~cjohnston/qa-dashboard/uu
Merge into: lp:qa-dashboard
Diff against target: 121 lines (+19/-13)
3 files modified
common/utils.py (+15/-9)
smokeng/dashboard.py (+2/-2)
smokeng/management/commands/jenkins_pull_smokeng.py (+2/-2)
To merge this branch: bzr merge lp:~cjohnston/qa-dashboard/uu
Reviewer Review Type Date Requested Status
Joe Talbott Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+216931@code.launchpad.net

Commit message

Add Utopic Unicorn..

Description of the change

Add U and remove R

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

PASSED: Continuous integration, rev:736
http://s-jenkins.ubuntu-ci:8080/job/dashboard-ci/318/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/dashboard-ci/318/rebuild

review: Approve (continuous-integration)
Revision history for this message
Joe Talbott (joetalbott) :
review: Approve
Revision history for this message
Chris Johnston (cjohnston) wrote :

Attempt to merge into lp:qa-dashboard failed due to conflicts:

text conflict in common/utils.py

lp:~cjohnston/qa-dashboard/uu updated
737. By Chris Johnston

Fix conflicts

Revision history for this message
Joe Talbott (joetalbott) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'common/utils.py'
2--- common/utils.py 2014-04-23 19:33:03 +0000
3+++ common/utils.py 2014-04-24 14:03:04 +0000
4@@ -1,5 +1,5 @@
5 # QA Dashboard
6-# Copyright 2012-2013 Canonical Ltd.
7+# Copyright 2012-2014 Canonical Ltd.
8
9 # This program is free software: you can redistribute it and/or modify it
10 # under the terms of the GNU Affero General Public License version 3, as
11@@ -42,13 +42,13 @@
12
13 regexes = {
14 'bootspeed': re.compile(
15- ur"^bootspeed-(milestone|backfill|raring|saucy|trusty)-(desktop|touch)-([^-]*)-(.*)"
16+ ur"^bootspeed-(milestone|backfill|saucy|trusty|utopic)-(desktop|touch)-([^-]*)-(.*)"
17 ),
18 'power': re.compile(
19- ur"^power-(milestone|backfill|raring|saucy|trusty)-(desktop)-([^-]*)-(.*)"
20+ ur"^power-(milestone|backfill|saucy|trusty|utopic)-(desktop)-([^-]*)-(.*)"
21 ),
22 'idlepower': re.compile(
23- ur"^poweridle-(milestone|backfill|raring|saucy|trusty)-(desktop)-([^-]*)-(.*)"
24+ ur"^poweridle-(milestone|backfill|saucy|trusty|utopic)-(desktop)-([^-]*)-(.*)"
25 ),
26 'upgrade': re.compile(
27 ur".*-upgrade-.*"
28@@ -57,10 +57,10 @@
29 ur"^(precise|quantal)-(desktop|server|alternate)"
30 ),
31 'utah-smoke': re.compile(
32- ur"^(raring|saucy|trusty)-(desktop|server)-.*-smoke-.*"
33+ ur"^(saucy|trusty|utopic)-(desktop|server)-.*-smoke-.*"
34 ),
35 'utah-smoke-data': re.compile(
36- ur"^(raring|saucy|trusty)-(desktop|server)-([^-]*)-smoke-(.*)"
37+ ur"^(saucy|trusty|utopic)-(desktop|server)-([^-]*)-smoke-(.*)"
38 ),
39 'smoke-ec2': re.compile(
40 ur"(.*)-(.*)-ec2.*"
41@@ -82,7 +82,7 @@
42 ),
43 'kernel_sru': re.compile(
44 ur"^(sru_kernel)(|_backport)-" +
45- "(lucid|precise|quantal|raring|saucy|trusty)(|_lts_hwe)-(.*)-(.*)-(.*).*"
46+ "(lucid|precise|quantal|saucy|trusty|utopic)(|_lts_hwe)-(.*)-(.*)-(.*).*"
47 ),
48 'kernel_sru-version': re.compile(
49 ur"^([^,\s]+)(\s+|,)"
50@@ -144,7 +144,12 @@
51 if hasattr(obj, attr):
52 self._current[attr] = getattr(obj, attr)
53
54- json.dump(self._current, self.stream, cls=DjangoJSONEncoder, **self.options)
55+ json.dump(
56+ self._current,
57+ self.stream,
58+ cls=DjangoJSONEncoder,
59+ **self.options
60+ )
61
62
63 def my_models(name):
64@@ -196,8 +201,8 @@
65 install_hooks(cfg)
66 return make_app(wsgi_handler, cfg, oops_on_status=['500'])
67
68+
69 def update_build_numbers(images, reverse=False):
70-
71 if reverse:
72 for image in images:
73 image.rootfs_id = ""
74@@ -276,6 +281,7 @@
75 return wrapper
76 return dec
77
78+
79 def lockfile_dec(lock_file, wait=False):
80 def dec(func):
81 def wrapper(*args, **kwargs):
82
83=== modified file 'smokeng/dashboard.py'
84--- smokeng/dashboard.py 2014-02-18 20:50:56 +0000
85+++ smokeng/dashboard.py 2014-04-24 14:03:04 +0000
86@@ -1,5 +1,5 @@
87 # QA Dashboard
88-# Copyright 2012-2013 Canonical Ltd.
89+# Copyright 2012-2014 Canonical Ltd.
90
91 # This program is free software: you can redistribute it and/or modify it
92 # under the terms of the GNU Affero General Public License version 3, as
93@@ -30,7 +30,7 @@
94 )
95 from smokeng.tables import SmokeKPITable
96
97-KPI_RELEASES = ['precise', 'trusty']
98+KPI_RELEASES = ['precise', 'trusty', 'utopic']
99 KPI_VARIANT_EXCLUDES = ['touch_sf4p', 'touch_custom_demo']
100
101
102
103=== modified file 'smokeng/management/commands/jenkins_pull_smokeng.py'
104--- smokeng/management/commands/jenkins_pull_smokeng.py 2014-02-18 18:16:34 +0000
105+++ smokeng/management/commands/jenkins_pull_smokeng.py 2014-04-24 14:03:04 +0000
106@@ -1,5 +1,5 @@
107 # QA Dashboard
108-# Copyright 2012-2013 Canonical Ltd.
109+# Copyright 2012-2014 Canonical Ltd.
110
111 # This program is free software: you can redistribute it and/or modify it
112 # under the terms of the GNU Affero General Public License version 3, as
113@@ -40,7 +40,7 @@
114
115 class Command(JenkinsBaseCommand):
116 job_regex = re.compile(
117- ur'^(precise|quantal|raring|saucy|trusty)-' +
118+ ur'^(precise|quantal|saucy|trusty|utopic)-' +
119 ur'(desktop|server|alternate|touch(|_(ro|mir|custom|custom_demo|sf4p)))-' +
120 ur'([^-_]+)(_|-smoke-)((?!static_validation).*)$'
121 )

Subscribers

People subscribed via source and target branches