summaryrefslogtreecommitdiffstats
path: root/resources/roles/qtip-workspace/files/copy/run.yml
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-20 22:51:59 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-21 13:43:50 +0800
commit6144eac326d14e26bbb849abea51c4cf7f3881b6 (patch)
tree15ab6fcd3eadfb6d9ae7d089b237a2f0416a9235 /resources/roles/qtip-workspace/files/copy/run.yml
parent7273ca98a91399e188af15e192be93724977fe08 (diff)
Group test results and report under node
Change-Id: I66286787d06c5012c6dcf516cffb9f6fd76522c5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/roles/qtip-workspace/files/copy/run.yml')
-rw-r--r--resources/roles/qtip-workspace/files/copy/run.yml32
1 files changed, 2 insertions, 30 deletions
diff --git a/resources/roles/qtip-workspace/files/copy/run.yml b/resources/roles/qtip-workspace/files/copy/run.yml
index ddac875c..ed87b6a4 100644
--- a/resources/roles/qtip-workspace/files/copy/run.yml
+++ b/resources/roles/qtip-workspace/files/copy/run.yml
@@ -22,13 +22,6 @@
roles:
- development-tools
- post_tasks:
- - name: create dumping directories
- file:
- path: "{{ qtip_dump }}/{{ inventory_hostname }}"
- state: directory
- delegate_to: localhost
-
tags: [setup]
@@ -50,7 +43,7 @@
spec: "{{ qtip_resources }}/QPI/compute.yaml"
register: qpi_result
delegate_to: localhost
- tags: [calculate]
+ tags: [qpi]
- hosts: localhost
@@ -61,31 +54,10 @@
aggregate:
group: compute
register: pod_result
+ tags: [pod]
# Generate and publish report
- - name: create report folder
- file:
- path: "{{ qtip_reports }}"
- state: directory
-
- - name: create system information report
- template:
- src: "{{ qtip_resources }}/template/system-info.j2"
- dest: "{{ qtip_reports }}/system-info"
-
- - name: create qpi report
- template:
- src: "{{ qtip_resources }}/template/qpi-report.j2"
- dest: "{{ qtip_reports }}/qpi-report"
- tags: [report]
-
- - name: create dpi metrics report
- template:
- src: "{{ qtip_resources }}/template/dpi-metrics.j2"
- dest: "{{ qtip_reports }}/dpi-metrics"
- tags: [report, dpi]
-
- name: push result to testapi
uri:
url: "{{ testapi_url }}/results"