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>
This commit is contained in:
Paul Belanger 2017-10-27 20:47:07 -04:00
parent 7c8cc6cfc4
commit 8e271e7b96
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
- 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

@ -371,6 +371,15 @@
pre-run: playbooks/puppet-tarball/pre.yaml
run: playbooks/puppet-tarball/run.yaml
- job:
name: publish-openstack-puppet-branch-tarball
parent: publish-openstack-artifacts
description: |
Publish the results of the puppet-tarball job to tarballs.openstack.org.
pre-run: playbooks/puppet-tarball/pre.yaml
run: playbooks/puppet-tarball/run.yaml
post-run: playbooks/puppet-branch-tarball/post.yaml
- job:
name: publish-openstack-python-tarball
parent: publish-openstack-artifacts