Merge lp:~jibel/qa-jenkins-jobs/debian into lp:qa-jenkins-jobs

Proposed by Jean-Baptiste Lallement
Status: Merged
Approved by: Max Brustkern
Approved revision: 225
Merged at revision: 225
Proposed branch: lp:~jibel/qa-jenkins-jobs/debian
Merge into: lp:qa-jenkins-jobs
Diff against target: 125 lines (+108/-1)
2 files modified
jobs/snapcore-qa-tests/debian.yaml (+107/-0)
jobs/snapcore-qa-tests/jobs.yaml (+1/-1)
To merge this branch: bzr merge lp:~jibel/qa-jenkins-jobs/debian
Reviewer Review Type Date Requested Status
Max Brustkern (community) Approve
platform-qa-bot continuous-integration Approve
Review via email: mp+318947@code.launchpad.net

Commit message

jobs/snapcore-qa-tests/debian.yaml: Added job definition for spread tests on Debian
jobs/snapcore-qa-tests/jobs.yaml: Releases in correct order

Description of the change

  jobs/snapcore-qa-tests/debian.yaml: Added job definition for spread tests on Debian
  jobs/snapcore-qa-tests/jobs.yaml: Releases in correct order

To post a comment you must log in.
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Max Brustkern (nuclearbob) wrote :

One diff comment.

Revision history for this message
Max Brustkern (nuclearbob) wrote :

The multiple description setters work, and with the | in place, python3 deployment works on my xenial machine, so I think it should work in production as well.

It might be good to note dependencies in a comment if we're not going to make a setup job yet; I needed to install vmdebootstrap, and we may need other things as well. Right now the setup job for the other core jobs just runs lp:snapcore-qa-tests/autospread/setup.sh, so we could add that package there.

lp:~jibel/qa-jenkins-jobs/debian updated
225. By Jean-Baptiste Lallement

debian.yaml:
- Set AUTOPKGTEST_APT_PROXY in external configuration file
- Added missing pipe for shell directive

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Max Brustkern (nuclearbob) wrote :

Looks good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'jobs/snapcore-qa-tests/debian.yaml'
2--- jobs/snapcore-qa-tests/debian.yaml 1970-01-01 00:00:00 +0000
3+++ jobs/snapcore-qa-tests/debian.yaml 2017-03-06 09:24:53 +0000
4@@ -0,0 +1,107 @@
5+# vim: sw=4 ts=4 et
6+
7+# QA Jenkins Jobs
8+# Copyright 2017 Canonical Ltd.
9+
10+# This program is free software: you can redistribute it and/or modify it
11+# under the terms of the GNU General Public License version 3, as published
12+# by the Free Software Foundation.
13+
14+# This program is distributed in the hope that it will be useful, but
15+# WITHOUT ANY WARRANTY; without even the implied warranties of
16+# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
17+# PURPOSE. See the GNU General Public License for more details.
18+
19+# You should have received a copy of the GNU General Public License along
20+# with this program. If not, see <http://www.gnu.org/licenses/>.
21+
22+
23+- builder:
24+ name: branch-core-qa-tests
25+ builders:
26+ - shell: |
27+ if [ ! -e "snapcore-qa-tests" ]; then
28+ bzr branch lp:snapcore-qa-tests snapcore-qa-tests
29+ else
30+ cd snapcore-qa-tests
31+ bzr pull -v
32+ cd -
33+ fi
34+
35+- publisher:
36+ name: set-desc-results
37+ publishers:
38+ - description-setter:
39+ regexp: "Successful tasks.*"
40+ - description-setter:
41+ regexp: "Failed tasks.*"
42+ - description-setter:
43+ regexp: "Aborted tasks.*"
44+
45+- job:
46+ name: snapcore-debian-sid-createvm
47+ triggers:
48+ - daily:
49+ description: |
50+ Create a Debian VM suitable for autopkgtest (amd64 only)
51+ node: iso-testing
52+ builders:
53+ - clear-artifacts:
54+ - branch-core-qa-tests:
55+ - shell: |
56+ # AUTOPKGTEST_APT_PROXY is set in .proxy_info
57+ if [ -f ~/.proxy_info ] ; then
58+ . ~/.proxy_info
59+ fi
60+
61+ cd snapcore-qa-tests/cross-distro/Debian
62+
63+ IMAGEDIR="$(pwd)/images"
64+ mkdir -p "$IMAGEDIR"
65+ ./create_debian -d -O "$IMAGEDIR/autopkgtest-sid.img" -s 8G -U ubuntu -P ubuntu
66+
67+- job:
68+ name: snapcore-debian-sid-spread-trunk
69+ triggers:
70+ - daily:
71+ description: |
72+ Run Core spread tests on Debian sid amd64 and snapd trunk
73+ node: iso-testing
74+ builders:
75+ - clear-artifacts:
76+ - branch-core-qa-tests:
77+ - shell: |
78+ if [ -f ~/.proxy_info ] ; then
79+ . ~/.proxy_info
80+ fi
81+
82+ cd snapcore-qa-tests/cross-distro/Debian
83+ rm -Rf ./debian-core-test
84+
85+ IMAGEDIR="/var/lib/jenkins-utah-iso/workspace/snapcore-spread-debian-create-vm/snapcore-qa-tests/cross-distro/Debian/images/"
86+ ./run_test_from_git -d -I "$IMAGEDIR/autopkgtest-sid.img"
87+ publishers:
88+ - set-desc-results
89+
90+- job:
91+ name: snapcore-debian-sid-spread-release
92+ triggers:
93+ - daily:
94+ description: |
95+ Run Core spread tests on Debian sid amd64 and latest release branch of snapd
96+ node: iso-testing
97+ builders:
98+ - clear-artifacts:
99+ - branch-core-qa-tests:
100+ - shell: |
101+ if [ -f ~/.proxy_info ] ; then
102+ . ~/.proxy_info
103+ fi
104+
105+ cd snapcore-qa-tests/cross-distro/Debian
106+ rm -Rf ./debian-core-test
107+
108+ IMAGEDIR="/var/lib/jenkins-utah-iso/workspace/snapcore-spread-debian-create-vm/snapcore-qa-tests/cross-distro/Debian/images/"
109+ ./run_test_from_git -d -b latest -I "$IMAGEDIR/autopkgtest-sid.img"
110+ publishers:
111+ - set-desc-results
112
113=== modified file 'jobs/snapcore-qa-tests/jobs.yaml'
114--- jobs/snapcore-qa-tests/jobs.yaml 2017-03-03 16:45:12 +0000
115+++ jobs/snapcore-qa-tests/jobs.yaml 2017-03-06 09:24:53 +0000
116@@ -137,8 +137,8 @@
117 name: RELEASE
118 values:
119 - trusty
120+ - xenial
121 - yakkety
122- - xenial
123 - zesty
124 - axis:
125 type: user-defined

Subscribers

People subscribed via source and target branches