59c5820fa6
This change adds new jobs to run and combine phoronix test suite results. Co-Authored-By: Nicolas Hicher <nhicher@redhat.com> Change-Id: If94cdbd91c8d80393a71cd5c36690563de9edcd6
20 lines
515 B
YAML
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
|