Creaate release-openstack-puppet job

This is our new zuulv3 job for release puppet modules. This is build
of the publish-openstack-puppet-branch-tarball job.

Change-Id: Ibd336f6f26d6a4c3f791179947a0291e58dd3950
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-10-27 19:24:59 -04:00
parent 4e5be4fb18
commit c41b56efab
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
4 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,15 @@
- hosts: all
roles:
- fetch-puppet-module-output
pre_tasks:
# NOTE(pabelanger): Here we are converting openstack-neutron-8.0.0.tar.gz to
# puppet-neutron-8.0.0.tar.gz.
- name: Convert filename to puppet prefix
shell: "find . -name openstack-*.tar.gz | sed -e 'p;s/openstack-/puppet-/' | xargs -n2 mv"
args:
chdir: "{{ zuul.project.src_dir }}/pkg"
- hosts: localhost
roles:
- sign-artifacts

View File

@ -118,6 +118,17 @@
- secret: site_tarballs
name: fileserver
- job:
name: release-openstack-puppet
parent: publish-openstack-artifacts
description: |
Sign and release puppet tarballs to tarballs.o.o.
pre-run: playbooks/puppet-tarball/pre
run: playbooks/puppet-tarball/run
post-run: playbooks/puppet-tarball/post
secrets:
- gpg_key
- job:
name: release-openstack-python-without-pypi
parent: publish-openstack-artifacts
@ -354,8 +365,8 @@
parent: publish-openstack-artifacts
description: |
Publish the results of the puppet-tarball job to tarballs.openstack.org.
pre-run: playbooks/puppet-branch-tarball/pre
run: playbooks/puppet-branch-tarball/run
pre-run: playbooks/puppet-tarball/pre
run: playbooks/puppet-tarball/run
post-run: playbooks/puppet-branch-tarball/post
- job: