Add non-OpenStack python tarball creation job
OpenStack python tarball building is weird and not done in a manner consistent with how other folks do it. Make a job that just runs python setup.py sdist bdist_wheel. Change-Id: I0df77cdd00b9820bad3b9cde75be9e150057a584
This commit is contained in:
parent
c36d95b4ba
commit
2a957c7f1c
3
playbooks/python/sdist.yaml
Normal file
3
playbooks/python/sdist.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- build-python-sdist
|
1
roles/build-python-sdist/defaults/main.yaml
Normal file
1
roles/build-python-sdist/defaults/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
python_sdist_chdir: "src/{{ zuul.project.canonical_name }}"
|
4
roles/build-python-sdist/tasks/main.yaml
Normal file
4
roles/build-python-sdist/tasks/main.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- name: Build a tarball and wheel
|
||||
command: python setup.py sdist bdist_wheel
|
||||
args:
|
||||
chdir: "{{ python_sdist_chdir }}"
|
Loading…
Reference in New Issue
Block a user