Merge lp:~joetalbott/helipad/ci_cu2d_results into lp:helipad/ci

Proposed by Joe Talbott
Status: Merged
Approved by: Chris Johnston
Approved revision: 47
Merged at revision: 46
Proposed branch: lp:~joetalbott/helipad/ci_cu2d_results
Merge into: lp:helipad/ci
Diff against target: 66 lines (+34/-1)
3 files modified
templates/ci/cu2d_results.html (+14/-0)
urls_daily.py (+1/-1)
views.py (+19/-0)
To merge this branch: bzr merge lp:~joetalbott/helipad/ci_cu2d_results
Reviewer Review Type Date Requested Status
Francis Ginther Approve
Chris Johnston Approve
PS Jenkins bot continuous-integration Approve
Didier Roche-Tolomelli Approve
Review via email: mp+188067@code.launchpad.net

Commit message

Daily Release - For the time being use the cu2d results page.

* This was discussed at the QA/CI/Phonedations Sprint in Lexington September 2013

Description of the change

Daily Release - For the time being use the cu2d results page.

* This was discussed at the QA/CI/Phonedations Sprint in Lexington September 2013

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

PASSED: Continuous integration, rev:46
http://s-jenkins:8080/job/helipad-ci-ci/71/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins:8080/job/helipad-ci-ci/71/rebuild

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

I think you are missing a div grid_15

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

good enough for me ;) just check with Chris if you need that div, I like this way, won't mind the div either :p

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

Doesn't seem to change anything by adding it.

47. By Joe Talbot <email address hidden>

Daily Release - Add grid_15 for better margins

Revision history for this message
Joe Talbott (joetalbott) wrote :

Scratch that. Pushed.

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

PASSED: Continuous integration, rev:47
http://s-jenkins:8080/job/helipad-ci-ci/72/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins:8080/job/helipad-ci-ci/72/rebuild

review: Approve (continuous-integration)
Revision history for this message
Chris Johnston (cjohnston) :
review: Approve
Revision history for this message
Francis Ginther (fginther) wrote :

I missed the fun, but also approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'templates/ci/cu2d_results.html'
2--- templates/ci/cu2d_results.html 1970-01-01 00:00:00 +0000
3+++ templates/ci/cu2d_results.html 2013-09-27 15:10:03 +0000
4@@ -0,0 +1,14 @@
5+{% extends "ci/ci_layout.html" %}
6+{% load url from future %}
7+{% load dashboard_extras ci_extras percentage %}
8+
9+{% block page_name %}Daily release status for {% if show_filter %}{{ show_filter }}{% else %}all stacks{% endif %}{% endblock %}
10+
11+{% block content %}
12+<div class="grid_15">
13+ <pre>
14+ {{ content }}
15+ </pre>
16+</div>
17+{% endblock content %}
18+
19
20=== modified file 'urls_daily.py'
21--- urls_daily.py 2013-07-23 17:46:15 +0000
22+++ urls_daily.py 2013-09-27 15:10:03 +0000
23@@ -24,5 +24,5 @@
24
25 urlpatterns = patterns(
26 'ci.views',
27- url(r'^$', 'stack_list', name='ci_daily_overview'),
28+ url(r'^$', 'display_cu2d_results', name='ci_daily_overview'),
29 )
30
31=== modified file 'views.py'
32--- views.py 2013-08-08 19:23:51 +0000
33+++ views.py 2013-09-27 15:10:03 +0000
34@@ -13,6 +13,8 @@
35 # You should have received a copy of the GNU Affero General Public License
36 # along with this program. If not, see <http://www.gnu.org/licenses/>.
37
38+import urllib2
39+
40 from django.template import RequestContext
41 from django.shortcuts import get_object_or_404, render_to_response
42
43@@ -60,6 +62,23 @@
44 )
45
46
47+def display_cu2d_results(request):
48+ response = urllib2.urlopen(
49+ 'http://people.canonical.com/~platform/cu2d/results'
50+ )
51+ content = response.read()
52+
53+ data = dict(
54+ content=content,
55+ )
56+
57+ return render_to_response(
58+ 'ci/cu2d_results.html',
59+ data,
60+ RequestContext(request)
61+ )
62+
63+
64 def stack_list(request):
65 show_filter = request.GET.get('show')
66 release_list = Release.objects.all()

Subscribers

People subscribed via source and target branches

to all changes: