aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/run.yaml
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-12 19:44:00 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-17 08:54:21 +0800
commit2fa6b511f1a6c1a3372aacdacf7b6f68a4c72ddf (patch)
treeadaed2455a7afcfa64949e3315743609d3494abb /tests/integration/run.yaml
parent6d6259490b9c0897ba493070516600fcff94b312 (diff)
Move YAML resources to /resources.
- replacing the content of /benchmarks will break current module like api/cli - migration required before surpressing the current benchmarks/ folder Change-Id: I8bd04eeb18aaa3c966330ff7adbe85a267680fc1 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/integration/run.yaml')
-rw-r--r--tests/integration/run.yaml19
1 files changed, 13 insertions, 6 deletions
diff --git a/tests/integration/run.yaml b/tests/integration/run.yaml
index 704ce831..86b36284 100644
--- a/tests/integration/run.yaml
+++ b/tests/integration/run.yaml
@@ -16,11 +16,10 @@
tasks:
- name: check ssh connection
ping:
- # collect system information
- name: collect system information
- include: tasks/inxi.yaml
+ include: "{{ qtip_resources }}/metric/inxi.yaml"
- name: ssl metrics
- include: tasks/openssl.yaml
+ include: "{{ qtip_resources }}/metric/openssl.yaml"
tags: [ssl]
- hosts: compute
@@ -29,7 +28,7 @@
calculate:
metrics:
ssl_rsa: "{{ openssl_rsa_metrics }}"
- spec: specs/compute.yaml
+ spec: "{{ qtip_resources }}/QPI/compute.yaml"
register: qpi_result
delegate_to: localhost
tags: [calculate]
@@ -37,9 +36,17 @@
# Generate and publish report
- hosts: local
tasks:
+ - name: create report folder
+ file:
+ path: "{{ qtip_reports }}"
+ state: directory
- name: create system information report
- template: src=templates/system-info.j2 dest=reports/system-info
+ template:
+ src: "{{ qtip_resources }}/template/system-info.j2"
+ dest: "{{ qtip_reports }}/system-info"
- name: create qpi report
- template: src=templates/qpi-report.j2 dest=reports/qpi-report
+ template:
+ src: "{{ qtip_resources }}/template/qpi-report.j2"
+ dest: "{{ qtip_reports }}/qpi-report"
tags: [report]
# TODO(yujunz) push test result to testapi