Merge lp:~mwhudson/qa-jenkins-jobs/live-server-jobs into lp:qa-jenkins-jobs

Proposed by Michael Hudson-Doyle
Status: Merged
Approved by: Joshua Powers
Approved revision: no longer in the source branch.
Merged at revision: 300
Proposed branch: lp:~mwhudson/qa-jenkins-jobs/live-server-jobs
Merge into: lp:qa-jenkins-jobs
Diff against target: 55 lines (+38/-0)
1 file modified
jobs/iso-testing/jobs.yaml (+38/-0)
To merge this branch: bzr merge lp:~mwhudson/qa-jenkins-jobs/live-server-jobs
Reviewer Review Type Date Requested Status
Canonical Platform QA Jenkins Pending
Review via email: mp+335428@code.launchpad.net

Description of the change

Adds a job to run some live-server tests. We'll need to copy http://people.canonical.com/~mwh/live-server-for-utah.iso to /var/cache/utah/iso/bionic-live-server-amd64.iso and trigger the job manually for now, but it's a start!

To post a comment you must log in.
300. By Joshua Powers

Enable live-server ISO testing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/iso-testing/jobs.yaml'
2--- jobs/iso-testing/jobs.yaml 2017-11-15 13:14:18 +0000
3+++ jobs/iso-testing/jobs.yaml 2017-12-20 01:25:56 +0000
4@@ -76,6 +76,7 @@
5 - '{flavor}-{release}-desktop-{arch}-smoke-{desktop-test}'
6 - 'ubuntu-{release}-server-{arch}-smoke-{server-test}'
7 - '{flavor}-{release}-desktop-{arch}-iso-disk-footprint'
8+ - 'ubuntu-bionic-live-server-amd64-smoke-default'
9 - 'mark-pending-current'
10 # builder stanzas describe reusable build steps
11 - builder: # This step downloads the iso
12@@ -384,6 +385,43 @@
13 - mark-junit
14
15 - job-template:
16+ name: 'ubuntu-{release}-live-server-{arch}-smoke-default'
17+ description: |
18+ Run the default iso test on a live-server image
19+ Defined in lp:qa-jenkins-jobs
20+ parameters:
21+ - string:
22+ name: QA_JENKINS_JOBS_BRANCH
23+ default: lp:qa-jenkins-jobs
24+ description: "Launchpad branch of qa-jenkins-jobs from which to pick the scripts from."
25+ node: 'iso-testing'
26+ #triggers:
27+ # - reverse: # Trigger after static validation succeeds
28+ # jobs: 'ubuntu-{release}-server-{arch}-iso-static-validation'
29+ # result: 'success'
30+ builders:
31+ - clear-artifacts:
32+ - echo-media-info:
33+ iso: '/var/cache/utah/iso/{release}-live-server-{arch}.iso'
34+ - branch-bzr-project:
35+ project-url: '$QA_JENKINS_JOBS_BRANCH'
36+ project-name: 'qa-jenkins-jobs'
37+ - run-iso-test:
38+ release: '{release}'
39+ variant: 'live-server'
40+ arch: '{arch}'
41+ test: 'default'
42+ - write-parameters-file:
43+ release: '{release}'
44+ variant: 'live-server'
45+ arch: '{arch}'
46+ flavor: 'ubuntu-server'
47+ publishers:
48+ - archive-artifacts
49+ #- trigger-mark-pending-current
50+ - mark-junit
51+
52+- job-template:
53 name: '{flavor}-{release}-desktop-{arch}-smoke-{desktop-test}'
54 description: |
55 Run other desktop iso tests

Subscribers

People subscribed via source and target branches