Merge lp:~didrocks/cupstream2distro-config/use-generic-job into lp:cupstream2distro-config

Proposed by Didier Roche-Tolomelli
Status: Merged
Approved by: Francis Ginther
Approved revision: 137
Merged at revision: 136
Proposed branch: lp:~didrocks/cupstream2distro-config/use-generic-job
Merge into: lp:cupstream2distro-config
Diff against target: 93 lines (+12/-9)
5 files modified
daily-release/cu2d-update-stack (+3/-2)
daily-release/jenkins-templates/check-stack-config.xml.tmpl (+4/-4)
stacks/raring/indicators.cfg (+1/-1)
stacks/raring/oif.cfg (+1/-1)
stacks/raring/unity.cfg (+3/-1)
To merge this branch: bzr merge lp:~didrocks/cupstream2distro-config/use-generic-job
Reviewer Review Type Date Requested Status
Francis Ginther Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+156615@code.launchpad.net

Commit message

Use generic autopilot job

Description of the change

Use generic autopilot job

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

LGTM, should work with the new generic job. Approve.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'daily-release/cu2d-update-stack'
2--- daily-release/cu2d-update-stack 2013-04-01 14:30:31 +0000
3+++ daily-release/cu2d-update-stack 2013-04-02 15:29:17 +0000
4@@ -167,9 +167,10 @@
5 ctx = dict(ctxbase)
6 ctx['opts'] = '-a -s %s -p %s' % (stack['series'], stack['ppa'])
7 ctx['extracheck'] = stack['extracheck']
8- checkparameters = 'ppa={}'.format(stack['ppa'])
9+ checkparameters = 'stack={}\nrelease={}\nseries={}\nppa={}'.format(stack['name'],
10+ release, stack['series'], stack['ppa'])
11 for parameter in stack.get('test_parameters', {}):
12- checkparameters += '\n{}={}'.format(parameter, stack['test_parameters'][parameter])
13+ checkparameters += '\n{}={}'.format(parameter, stack['test_parameters'][parameter])
14 ctx['checkparameters'] = checkparameters
15 setup_job(jkh, jjenv, jobname, TEMPLATES['check'],
16 ctx, update)
17
18=== modified file 'daily-release/jenkins-templates/check-stack-config.xml.tmpl'
19--- daily-release/jenkins-templates/check-stack-config.xml.tmpl 2013-04-01 14:30:31 +0000
20+++ daily-release/jenkins-templates/check-stack-config.xml.tmpl 2013-04-02 15:29:17 +0000
21@@ -22,10 +22,10 @@
22 cd $WRKDIR
23
24 echo "Removing skip file (initial cleaning)"
25-rm -f /tmp/autopilot.{{ stack }}.skip
26+rm -f /tmp/autopilot.{{ release }}.{{ stack }}.skip
27 if [ -z "$(ls $WRKDIR/*.project 2>/dev/null)" -a "$CHECK_WITH_WHOLE_PPA" != "true" ]; then
28 echo "No new source uploaded to PPA and CHECK_WITH_WHOLE_PPA is not set. Skipping check!"
29- echo "<testsuite errors='0' failures='0' name='' tests='1' time='0.001'><testcase classname='notest.skip' name='skipped' time='0.001'/></testsuite>" > /tmp/autopilot.{{ stack }}.skip
30+ echo "<testsuite errors='0' failures='0' name='' tests='1' time='0.001'><testcase classname='notest.skip' name='skipped' time='0.001'/></testsuite>" > /tmp/autopilot.{{ release }}.{{ stack }}.skip
31 exit 0
32 fi
33
34@@ -63,9 +63,9 @@
35 <hudson.tasks.Shell>
36 <command>#!/bin/bash -u
37
38-if [ -e /tmp/autopilot.{{ stack }}.skip ]; then
39+if [ -e /tmp/autopilot.{{ release }}.{{ stack }}.skip ]; then
40 echo "Removing Skip file"
41- rm /tmp/autopilot.{{ stack }}.skip
42+ rm /tmp/autopilot.{{ release }}.{{ stack }}.skip
43 exit 0
44 fi
45
46
47=== modified file 'stacks/raring/indicators.cfg'
48--- stacks/raring/indicators.cfg 2013-04-01 14:30:31 +0000
49+++ stacks/raring/indicators.cfg 2013-04-02 15:29:17 +0000
50@@ -2,7 +2,7 @@
51 name: indicators
52 series: raring
53 ppa: ubuntu-unity/daily-build
54- extracheck: ps-indicators-autopilot-release-testing
55+ extracheck: ps-generic-autopilot-release-testing
56 schedule: 0 2 * * 1-5
57 dependencies:
58 - qa
59
60=== modified file 'stacks/raring/oif.cfg'
61--- stacks/raring/oif.cfg 2013-04-01 14:30:31 +0000
62+++ stacks/raring/oif.cfg 2013-04-02 15:29:17 +0000
63@@ -2,7 +2,7 @@
64 name: oif
65 series: raring
66 ppa: ubuntu-unity/daily-build
67- extracheck: ps-oif-autopilot-release-testing
68+ extracheck: ps-generic-autopilot-release-testing
69 schedule: 0 2 * * 1-5
70 ci_default:
71 contact_email: "francis.ginther@canonical.com"
72
73=== modified file 'stacks/raring/unity.cfg'
74--- stacks/raring/unity.cfg 2013-04-02 08:48:08 +0000
75+++ stacks/raring/unity.cfg 2013-04-02 15:29:17 +0000
76@@ -2,7 +2,7 @@
77 name: unity
78 series: raring
79 ppa: ubuntu-unity/daily-build
80- extracheck: ps-unity-autopilot-release-testing
81+ extracheck: ps-generic-autopilot-release-testing
82 schedule: 0 4 * * 1-5
83 ci_default:
84 contact_email: "francis.ginther@canonical.com"
85@@ -32,6 +32,8 @@
86 local_archive_tmp: /home/ubuntu/ppa_archive/staging
87 local_archive_source: http://naartjie/archive/staging
88 local_archive_pocket: raring
89+ test_parameters:
90+ tests: unity
91 dependencies:
92 - indicators
93 - oif

Subscribers

People subscribed via source and target branches

to all changes: