Merge lp:~canonical-platform-qa/qa-jenkins-jobs/iso-footprint-jobs-fix into lp:qa-jenkins-jobs

Proposed by Sergio Cazzolato
Status: Merged
Approved by: Max Brustkern
Approved revision: 218
Merged at revision: 208
Proposed branch: lp:~canonical-platform-qa/qa-jenkins-jobs/iso-footprint-jobs-fix
Merge into: lp:qa-jenkins-jobs
Diff against target: 54 lines (+5/-11)
2 files modified
jobs/iso-testing/jobs.yaml (+1/-1)
jobs/performance/jobs.yaml (+4/-10)
To merge this branch: bzr merge lp:~canonical-platform-qa/qa-jenkins-jobs/iso-footprint-jobs-fix
Reviewer Review Type Date Requested Status
Max Brustkern (community) Approve
platform-qa-bot continuous-integration Approve
Review via email: mp+316749@code.launchpad.net

Commit message

Minor fix for iso tests cleanup.

To post a comment you must log in.
Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
218. By Sergio Cazzolato

use clear-artifacts builder

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=== modified file 'jobs/iso-testing/jobs.yaml'
2--- jobs/iso-testing/jobs.yaml 2017-02-08 17:50:27 +0000
3+++ jobs/iso-testing/jobs.yaml 2017-02-08 21:04:42 +0000
4@@ -473,13 +473,13 @@
5 jobs: '{flavor}-{release}-desktop-{arch}-iso-download'
6 result: 'success'
7 builders:
8+ - clear-artifacts
9 - branch-bzr-project:
10 project-url: 'lp:qakit'
11 project-name: 'qakit'
12 - grafana-setup
13 - shell: |
14 #!/bin/bash
15- rm -rf *
16 mkdir -p $OUTPUTDIR
17 export OUTPUTDIR=$WORKSPACE/results
18 mkdir -p $DATADIR
19
20=== modified file 'jobs/performance/jobs.yaml'
21--- jobs/performance/jobs.yaml 2017-02-08 17:50:27 +0000
22+++ jobs/performance/jobs.yaml 2017-02-08 21:04:42 +0000
23@@ -43,19 +43,13 @@
24 jobs:
25 - 'kpi-tests-{device}-{model}-{release}-{arch}-unity8-{unity8-mode}'
26
27-# builder stanzas describe reusable build steps
28 - builder:
29- name: setup-env
30+ name: run-performance-tests
31 builders:
32 - shell: |
33- rm -rf *
34+ #!/bin/bash
35+ set -ex
36 mkdir $WORKSPACE/results
37-
38-- builder:
39- name: run-performance-tests
40- builders:
41- - shell: |
42- set -ex
43 BUILDID=$(date +%Y%m%d)
44 cat > job.json <<EOF
45 {{
46@@ -133,7 +127,7 @@
47 default: KPI_DEVICE_TYPE={device} KPI_DEVICE_MODEL={model} KPI_OS_RELEASE={release} KPI_OS_ARCH={arch} KPI_UNITY8_MODE={unity8-mode}
48 description: "Environment parameters"
49 builders:
50- - setup-env:
51+ - clear-artifacts:
52 - branch-bzr-project:
53 project-url: '$QAKIT_BRANCH'
54 project-name: 'qakit'

Subscribers

People subscribed via source and target branches