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:
parent
7a1d182f0f
commit
559671b35a
@ -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"
|
15
playbooks/python-branch-tarball/post.yaml
Normal file
15
playbooks/python-branch-tarball/post.yaml
Normal 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"
|
Loading…
Reference in New Issue
Block a user