Skip to content

Commit

Permalink
Merge pull request #296 from msimonin/fix-295
Browse files Browse the repository at this point in the history
Fix #295
  • Loading branch information
msimonin authored Oct 1, 2018
2 parents 23d72d9 + 5123cb0 commit 82eae20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion enos/ansible/roles/rally/tasks/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
task start /home/rally/data/{{ bench.scenario_location | basename }}
--task-args-file /home/rally/data/rally-args.json
--deployment discovery
ignore_errors: yes

# -------------------------------- Download results (if any)
- name: Find report identifier
shell: >
Expand All @@ -78,6 +79,7 @@
--deployment discovery\
| tail -n 1
register: task_uuid
ignore_errors: yes

- name: Generating rally reports (html) for {{ task_uuid.stdout }}
when: task_uuid.stdout != ""
Expand All @@ -86,6 +88,7 @@
task report --uuid {{ task_uuid.stdout }}
--html-static --out
/home/rally/data/report-{{ bench.scenario_location | basename }}-{{ task_uuid.stdout }}.html
ignore_errors: yes

- name: Generating rally reports (json) for {{ task_uuid.stdout }}
when: task_uuid.stdout != ""
Expand All @@ -94,3 +97,4 @@
task report --uuid {{ task_uuid.stdout }}
--json --out
/home/rally/data/report-{{ bench.scenario_location | basename }}-{{ task_uuid.stdout }}.json
ignore_errors: yes

0 comments on commit 82eae20

Please sign in to comment.