From 2fa6b511f1a6c1a3372aacdacf7b6f68a4c72ddf Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Wed, 12 Apr 2017 19:44:00 +0800 Subject: 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 --- tests/integration/run.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'tests/integration/run.yaml') 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 -- cgit 1.2.3-korg