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:
parent
4e5be4fb18
commit
c41b56efab
15
playbooks/puppet-tarball/post.yaml
Normal file
15
playbooks/puppet-tarball/post.yaml
Normal 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
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user