Merge lp:~canonical-platform-qa/qa-jenkins-jobs/results-type-grafana-upload into lp:qa-jenkins-jobs

Proposed by Sergio Cazzolato
Status: Merged
Approved by: Sergio Cazzolato
Approved revision: 220
Merged at revision: 209
Proposed branch: lp:~canonical-platform-qa/qa-jenkins-jobs/results-type-grafana-upload
Merge into: lp:qa-jenkins-jobs
Diff against target: 37 lines (+5/-4)
2 files modified
jobs/macros.yaml (+2/-2)
jobs/ubiquity/jobs.yaml (+3/-2)
To merge this branch: bzr merge lp:~canonical-platform-qa/qa-jenkins-jobs/results-type-grafana-upload
Reviewer Review Type Date Requested Status
Max Brustkern (community) Approve
platform-qa-bot continuous-integration Approve
Review via email: mp+316884@code.launchpad.net

Commit message

Adding parameters to specify the results type in grafana upload builder

To post a comment you must log in.
220. By Sergio Cazzolato

changing the name for grafana upload builder

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (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 :

LGTM

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

I incorporated this here:
https://code.launchpad.net/~canonical-platform-qa/qa-jenkins-jobs/results-type-grafana-upload/+merge/316884
Not sure if we should mark this as prerequisite and land separately, or just work on that one.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/macros.yaml'
2--- jobs/macros.yaml 2017-02-08 17:57:51 +0000
3+++ jobs/macros.yaml 2017-02-09 17:25:23 +0000
4@@ -43,7 +43,7 @@
5 EOF
6
7 - builder:
8- name: grafana-upload
9+ name: grafana-tests-upload
10 builders:
11 - grafana-setup:
12 - shell: |
13@@ -63,7 +63,7 @@
14 "build": "$BUILDSTAMP"
15 }}
16 EOF
17- $GRAFANA_INTEGRATION_PATH/run_script sync-tests -rt xunit -rf {xunit_file} -if global_info.json -m tests_01 -t $(date +%s)
18+ $GRAFANA_INTEGRATION_PATH/run_script sync-tests -rt {results_type} -rf {results_file} -if global_info.json -m tests_01 -t $(date +%s)
19
20 - publisher: # This publisher archives all job artifacts
21 name: 'archive-artifacts'
22
23=== modified file 'jobs/ubiquity/jobs.yaml'
24--- jobs/ubiquity/jobs.yaml 2017-02-03 15:44:13 +0000
25+++ jobs/ubiquity/jobs.yaml 2017-02-09 17:25:23 +0000
26@@ -120,8 +120,9 @@
27 ubiquity_branch: '{ubiquity_branch}'
28 - generate-junit-files:
29 source_dir: 'results/var/local/autopilot/junit'
30- - grafana-upload:
31- xunit_file: 'results/var/local/autopilot/junit/*.xml'
32+ - grafana-tests-upload:
33+ results_type: 'xunit'
34+ results_file: 'results/var/local/autopilot/junit/*.xml'
35 device: 'vm'
36 model: ''
37 os: '{flavor}'

Subscribers

People subscribed via source and target branches