From ed3fdf5a8d6c75a44051be3644e2e44dcdfec168 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 16 Jun 2020 07:57:26 -0500 Subject: [PATCH] Add ensure-pip to build-python-release It assumes setuptools has been installed, which we usually get via the installation of pip. Change-Id: I0b8f408a47a78a6a04bdbd083f949bb82713776b --- playbooks/python/pre.yaml | 3 +++ zuul.d/python-jobs.yaml | 1 + 2 files changed, 4 insertions(+) create mode 100644 playbooks/python/pre.yaml diff --git a/playbooks/python/pre.yaml b/playbooks/python/pre.yaml new file mode 100644 index 000000000..280b297b9 --- /dev/null +++ b/playbooks/python/pre.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - ensure-pip diff --git a/zuul.d/python-jobs.yaml b/zuul.d/python-jobs.yaml index d78b0e926..db4cc61d4 100644 --- a/zuul.d/python-jobs.yaml +++ b/zuul.d/python-jobs.yaml @@ -249,6 +249,7 @@ name: build-python-release description: | Build a source tarball and a bdist wheel for uploading. + pre-run: playbooks/python/pre.yaml run: playbooks/python/release.yaml post-run: playbooks/python/tarball-post.yaml