Create build-openstack-puppet-tarball
This job we'll be able to add into check / gate pipelines for projects that want to test building a puppet tarball. Change-Id: I9e62a4a68db94e1d3d1e718edf340aeb9fbaba2e Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
831cac2672
commit
581c0c6def
7
playbooks/puppet-tarball/pre.yaml
Normal file
7
playbooks/puppet-tarball/pre.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: bindep
|
||||
# NOTE(pabelanger): puppet modules use the build profile to manage
|
||||
# dependencies for puppet module build.
|
||||
bindep_profile: build
|
||||
- revoke-sudo
|
6
playbooks/puppet-tarball/run.yaml
Normal file
6
playbooks/puppet-tarball/run.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Build puppet module
|
||||
command: puppet module build .
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
@ -364,6 +364,13 @@
|
||||
vars:
|
||||
tox_envlist: compare-cover
|
||||
|
||||
- job:
|
||||
name: build-openstack-puppet-tarball
|
||||
description: |
|
||||
Build a puppet tarball but do not upload it anywhere.
|
||||
pre-run: playbooks/puppet-tarball/pre.yaml
|
||||
run: playbooks/puppet-tarball/run.yaml
|
||||
|
||||
- job:
|
||||
name: publish-openstack-python-tarball
|
||||
parent: publish-openstack-artifacts
|
||||
|
Loading…
x
Reference in New Issue
Block a user