40ecd7d3dd
We do not use tox -e venv anymore for release-openstack-python, remove it to avoid an failure like: http://logs.openstack.org/33/33d839da8acb93a36a45186d158262f269e9bbd6/release/release-openstack-python/3a9339d/job-output.txt.gz#_2018-10-19_14_13_36_512020 Change-Id: Ib2fd39b0f9b6799e8b5a39044e70b2540b2b5541
33 lines
820 B
YAML
33 lines
820 B
YAML
- hosts: all
|
|
|
|
post_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: Ensure artifacts directory exists.
|
|
file:
|
|
path: "{{ zuul.executor.work_root }}/artifacts"
|
|
state: directory
|
|
delegate_to: localhost
|
|
|
|
- name: Collect tarball artifacts.
|
|
synchronize:
|
|
dest: "{{ zuul.executor.work_root }}/artifacts/"
|
|
mode: pull
|
|
src: "{{ item.path }}"
|
|
verify_host: true
|
|
with_items: "{{ result.files }}"
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- sign-artifacts
|