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:
Paul Belanger 2017-10-27 20:44:32 -04:00
parent 831cac2672
commit 581c0c6def
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 20 additions and 0 deletions

View 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

View File

@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: Build puppet module
command: puppet module build .
args:
chdir: "{{ zuul.project.src_dir }}"

View File

@ -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