db33049bd5
Change-Id: I9637e20984b64297e5c7306ffe031d618f0c260f
25 lines
644 B
YAML
25 lines
644 B
YAML
- hosts: all
|
|
tasks:
|
|
|
|
- name: Run build
|
|
shell: |
|
|
./generate_page.sh sample.csv > dstat_graph.html
|
|
args:
|
|
chdir: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}'
|
|
|
|
- name: Copy to executor
|
|
synchronize:
|
|
src: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/dstat_graph.html'
|
|
dest: '{{ zuul.executor.log_root }}'
|
|
mode: pull
|
|
|
|
- name: Return artifact to Zuul
|
|
zuul_return:
|
|
data:
|
|
zuul:
|
|
artifacts:
|
|
- name: 'Sample dstat graphs'
|
|
url: 'dstat_graph.html'
|
|
metadata:
|
|
type: text/html
|