openstack-zuul-jobs/playbooks/puppet-branch-tarball/post.yaml
Paul Belanger 8e271e7b96
Move publish-openstack-puppet-branch-tarball into ozj
We don't actually need this job in project-config, move to
openstack-zuul-jobs so we can share playbooks with
build-openstack-puppet-tarball.

Change-Id: I43a4ddaf40c48d22448238e62093b2e4d4597494
Depends-On: I7ca54a7045023596ec77682214afad5f210ac964
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-10-30 21:35:21 -04:00

10 lines
280 B
YAML

- 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"