From 845f7572bf70b8b5bc11b9750e0eaa905505dc68 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 3 Apr 2019 12:49:22 -0700 Subject: [PATCH] Actually upload to pypi in the python release job Change-Id: I06abe2b8deb3de7bf4623731e2b65455ae127805 --- playbooks/release-python/post.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/release-python/post.yaml b/playbooks/release-python/post.yaml index 86edc2b..2410ff7 100644 --- a/playbooks/release-python/post.yaml +++ b/playbooks/release-python/post.yaml @@ -1,3 +1,11 @@ - hosts: all roles: - fetch-python-sdist-output + +- hosts: localhost + roles: + - role: ensure-twine + when: zuul_success | bool + - role: upload-pypi + pypi_path: "{{ zuul.executor.work_root }}/artifacts" + when: zuul_success | bool