856496533e
If we failed to build a wheel / tarball, we don't actually want to attempt an upload. Checking the zuul_status results will provide that information. Change-Id: If0afb88f5063fe11e664a0393528933911da667b Signed-off-by: Paul Belanger <pabelanger@redhat.com>
8 lines
200 B
YAML
8 lines
200 B
YAML
- hosts: localhost
|
|
roles:
|
|
- role: ensure-twine
|
|
when: zuul_success | bool
|
|
- role: upload-pypi
|
|
pypi_path: "{{ zuul.executor.work_root }}/artifacts"
|
|
when: zuul_success | bool
|