summaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/qtip-workspace/files
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-24 21:14:40 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-24 22:47:18 +0800
commit7aaa7b0bf4ae4f29134b0298351c1aa1c189c253 (patch)
tree3cde7a25f4dc1500bd2c35cb54efc53d66070b0a /resources/ansible_roles/qtip-workspace/files
parentd550122312110e9db8759a4dc52ace8b230373db (diff)
Support running collect stage only
- add `always` tag to tasks required for all stages - apply `setup`, `collect` and `run` tag to each stage Change-Id: I806ec1add08bb18cb5b2848c78a039ed8a38c8ff Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/qtip-workspace/files')
-rw-r--r--resources/ansible_roles/qtip-workspace/files/defaults/run.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/resources/ansible_roles/qtip-workspace/files/defaults/run.yml b/resources/ansible_roles/qtip-workspace/files/defaults/run.yml
index b76e4573..15b12214 100644
--- a/resources/ansible_roles/qtip-workspace/files/defaults/run.yml
+++ b/resources/ansible_roles/qtip-workspace/files/defaults/run.yml
@@ -13,33 +13,33 @@
roles:
# prepare local environment
- - { role: qtip, tasks: setup-local }
+ - { role: qtip, tasks: setup-local, tags: [setup] }
- hosts: compute
roles:
# prepare environment
- - { role: qtip, tasks: setup-node }
+ - { role: qtip, tasks: setup-node, tags: [setup] }
- hosts: compute
roles:
# run test and collect metrics
- - { role: inxi, tags: [inxi, sysinfo] }
- - { role: unixbench, tags: [unixbench, float, int] }
- - { role: openssl, tags: [openssl, ssl]}
- - { role: nDPI, tags: [ndpi, dpi]}
- - { role: ramspeed, tags: [ramspeed, mem]}
+ - { role: inxi, tags: [run, inxi, sysinfo] }
+ - { role: unixbench, tags: [run, unixbench, arithmetic] }
+ - { role: openssl, tags: [run, openssl, ssl] }
+ - { role: nDPI, tags: [run, ndpi, dpi] }
+ - { role: ramspeed, tags: [run, ramspeed, memory] }
# calculate scores
- - { role: qtip, tasks: calculate}
+ - { role: qtip, tasks: calculate, tags: [calculate] }
- hosts: localhost
roles:
# aggregate results and produce report
- - { role: qtip, tasks: aggregate }
+ - { role: qtip, tasks: aggregate, tags: [aggregate] }
# publish results
- - { role: opnfv-testapi, tasks: report, when: testapi_url is defined}
+ - { role: opnfv-testapi, tasks: report, when: testapi_url is defined, tags: [report] }