Merge "Log file stats for tox tarball / wheels"
This commit is contained in:
commit
c235149627
@ -1,11 +1,21 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Find tarballs and wheels in dist folder.
|
||||||
|
find:
|
||||||
|
file_type: file
|
||||||
|
paths: "src/{{ zuul.project.canonical_name }}/dist"
|
||||||
|
patterns: "*.tar.gz,*.whl"
|
||||||
|
register: result
|
||||||
|
|
||||||
|
- name: Display stat for tarballs and wheels.
|
||||||
|
stat:
|
||||||
|
path: "{{ item.path }}"
|
||||||
|
with_items: "{{ result.files }}"
|
||||||
|
|
||||||
- name: Collect tarball artifacts.
|
- name: Collect tarball artifacts.
|
||||||
synchronize:
|
synchronize:
|
||||||
dest: "{{ zuul.executor.src_root }}/tarballs"
|
dest: "{{ zuul.executor.work_root }}/artifacts"
|
||||||
mode: pull
|
mode: pull
|
||||||
src: "src/{{ zuul.project.canonical_name }}/dist/{{ item }}"
|
src: "{{ item.path }}"
|
||||||
verify_host: true
|
verify_host: true
|
||||||
with_items:
|
with_items: "{{ result.files }}"
|
||||||
- "*.tar.gz"
|
|
||||||
- "*.whl"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user