a4c873b51a
OpenStack's Python release jobs don't run tox, and don't install the projects being packaged, not even in the branch tarball variants these days. Remove the bindep, ensure-tox and collect-tox-logs roles from pti-python-tarball and python-branch-tarball playbooks so that the jobs using them can be more portable between distro versions with less work. This should also make the jobs considerably faster. Change-Id: Icc30a79f770ed78674354f6226d28907bab7eb1d
15 lines
472 B
YAML
15 lines
472 B
YAML
- hosts: all
|
|
roles:
|
|
- fetch-python-sdist-output
|
|
|
|
pre_tasks:
|
|
# NOTE(pabelanger): This need to run before fetch-python-sdist-output to
|
|
# properly rename wheels and tarballs.
|
|
- name: Rename files to branch specific name
|
|
shell: "mv *.{{ item }} {{ zuul.project.short_name }}-{{ zuul.branch | replace('/', '-') }}.{{ item }}"
|
|
args:
|
|
chdir: "src/{{ zuul.project.canonical_name }}/dist"
|
|
with_items:
|
|
- "tar.gz"
|
|
- "whl"
|