Readd playbooks/python-branch-tarball/

This fixes the python-branch-tarball job. This was removed by accident
in I7ca54a7045023596ec77682214afad5f210ac964.

Remove instead puppet-branch-tarball as was intented.

Change-Id: I5e6c15f5eaf159f245e6d24935429a1962ec0085
This commit is contained in:
Andreas Jaeger 2017-11-01 20:36:12 +01:00
parent 7a1d182f0f
commit 559671b35a
2 changed files with 15 additions and 9 deletions

View File

@ -1,9 +0,0 @@
- hosts: all
roles:
- fetch-puppet-module-output
pre_tasks:
- name: Rename files to branch specific name
shell: "mv *.tar.gz {{ zuul.project.short_name }}-{{ zuul.branch | replace('/', '-') }}.tar.gz"
args:
chdir: "{{ zuul.project.src_dir }}/pkg"

View File

@ -0,0 +1,15 @@
- hosts: all
roles:
- fetch-tox-output
- 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"