Fix: Add pre-run into job
Add pre-run into job to ensure pip3 and revoke sudo. Change-Id: I7eb5431f7dc18bfcade5498c7af1a9364bad68bc
This commit is contained in:
parent
7a9b11a6a2
commit
4b0fd453cc
@ -47,6 +47,7 @@
|
|||||||
parent: publish-openstack-artifacts
|
parent: publish-openstack-artifacts
|
||||||
description: |
|
description: |
|
||||||
Publish the results tar.gz and whl packages to tarballs.openstack.org.
|
Publish the results tar.gz and whl packages to tarballs.openstack.org.
|
||||||
|
pre-run: playbooks/python-tarball/pre.yaml
|
||||||
run: playbooks/python-tarball/run.yaml
|
run: playbooks/python-tarball/run.yaml
|
||||||
vars:
|
vars:
|
||||||
release_python: python3
|
release_python: python3
|
||||||
|
5
playbooks/python-tarball/pre.yaml
Normal file
5
playbooks/python-tarball/pre.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
# We use ensure-pip to make sure the wheel module is installed
|
||||||
|
- ensure-pip
|
||||||
|
- revoke-sudo
|
Loading…
Reference in New Issue
Block a user