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:
parent
7c8cc6cfc4
commit
8e271e7b96
9
playbooks/puppet-branch-tarball/post.yaml
Normal file
9
playbooks/puppet-branch-tarball/post.yaml
Normal 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"
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user