aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/run.yaml
diff options
context:
space:
mode:
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