zuul-jobs/roles/phoronix-combine-results/tasks/main.yaml
Tristan Cacqueray 59c5820fa6 Add phoronix-test-suite job
This change adds new jobs to run and combine phoronix test suite results.

Co-Authored-By: Nicolas Hicher <nhicher@redhat.com>
Change-Id: If94cdbd91c8d80393a71cd5c36690563de9edcd6
2020-04-03 13:03:07 +00:00

20 lines
515 B
YAML

---
- name: Fetch previous result
include_tasks: fetch-result.yaml
when:
- item.metadata is defined
- item.metadata.type is defined
- item.metadata.type == "phoronix_result"
loop: "{{ zuul.artifacts }}"
- name: List previous result name
command: "ls {{ ansible_env.HOME }}/test-results/"
register: previous_results
- name: Merge result
shell: |
set -o pipefail
yes | phoronix-test-suite merge-results {{ ' '.join(previous_results.stdout_lines) }}
args:
executable: /bin/bash