Upload to pypi if pre / run was successful
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>
This commit is contained in:
parent
aac664de79
commit
856496533e
@ -1,5 +1,7 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- ensure-twine
|
||||
- role: ensure-twine
|
||||
when: zuul_success | bool
|
||||
- role: upload-pypi
|
||||
pypi_path: "{{ zuul.executor.work_root }}/artifacts"
|
||||
when: zuul_success | bool
|
||||
|
Loading…
Reference in New Issue
Block a user