Merge lp:~xnox/qa-jenkins-jobs/enable-s390x-edge into lp:qa-jenkins-jobs

Proposed by Dimitri John Ledkov
Status: Merged
Approved by: Paride Legovini
Approved revision: 351
Merged at revision: 351
Proposed branch: lp:~xnox/qa-jenkins-jobs/enable-s390x-edge
Merge into: lp:qa-jenkins-jobs
Diff against target: 50 lines (+36/-0)
1 file modified
jobs/iso-testing/jobs-s390x-live-server.yaml (+36/-0)
To merge this branch: bzr merge lp:~xnox/qa-jenkins-jobs/enable-s390x-edge
Reviewer Review Type Date Requested Status
Paride Legovini Approve
Review via email: mp+366048@code.launchpad.net

Commit message

Enable edge job for s390x (should work) as inject snap script in subiquity does claim to support injecting snaps for amd64 & s390x.

To post a comment you must log in.
Revision history for this message
Paride Legovini (paride) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/iso-testing/jobs-s390x-live-server.yaml'
2--- jobs/iso-testing/jobs-s390x-live-server.yaml 2019-04-03 18:46:23 +0000
3+++ jobs/iso-testing/jobs-s390x-live-server.yaml 2019-04-15 09:23:27 +0000
4@@ -32,6 +32,7 @@
5 # - 'ubuntu-{supported-release}-live-server-s390x-iso-download'
6 - 'ubuntu-{release}-live-server-s390x-iso-static-validation'
7 - 'ubuntu-{release}-live-server-s390x-smoke-default'
8+ - 'ubuntu-{release}-live-server-s390x-smoke-edge'
9
10
11 - job-template:
12@@ -121,3 +122,38 @@
13 - archive-artifacts
14 - trigger-mark-pending-current
15 - mark-junit
16+
17+- job-template:
18+ name: 'ubuntu-{release}-live-server-s390x-smoke-edge'
19+ description: |
20+ Run live-server iso test with edge snap of subiquity
21+ Defined in lp:qa-jenkins-jobs
22+ node: 'iso-testing'
23+ triggers:
24+ - reverse:
25+ jobs: 'ubuntu-{release}-live-server-s390x-smoke-default'
26+ result: 'success'
27+ builders:
28+ - clear-artifacts:
29+ - shell: |
30+ #!/bin/bash -x
31+ ISO_NAME="edge-{release}-live-server-s390x.iso"
32+
33+ git clone https://github.com/CanonicalLtd/subiquity
34+ https_proxy=http://squid.internal:3128/ \
35+ sudo ./subiquity/scripts/make-edge-iso.sh \
36+ /var/cache/utah/iso/{release}-live-server-s390x.iso \
37+ "$ISO_NAME"
38+
39+ if [ ! -f "$ISO_NAME" ]; then
40+ exit 1
41+ fi
42+
43+ bzr branch lp:qa-jenkins-jobs
44+ ./qa-jenkins-jobs/scripts/iso-testing/run-iso-test.sh \
45+ --test default --variant live-server \
46+ --arch s390x --iso "$WORKSPACE/$ISO_NAME"
47+ publishers:
48+ - archive-artifacts
49+ - email:
50+ recipients: 'server-crew-qa@lists.canonical.com michael.hudson@canonical.com'

Subscribers

People subscribed via source and target branches