Merge "Introduce puppet module build job"

This commit is contained in:
Jenkins 2017-01-27 13:47:58 +00:00 committed by Gerrit Code Review
commit 881388cd3e
2 changed files with 24 additions and 0 deletions

View File

@ -317,6 +317,24 @@
- devstack-logs
- console-log
- job-template:
name: 'gate-{name}-puppet-module-build-nv'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- zuul-clone:
project: $ZUUL_PROJECT
- install-distro-packages
- puppet-prepare-node
- allow-local-ssh-root
- shell: |
#!/bin/bash -xe
cd $ZUUL_PROJECT
puppet module build .
wrappers:
- build-timeout:
timeout: 60
@ -354,6 +372,7 @@
jobs:
- 'gate-{name}-puppet-lint'
- 'gate-{name}-puppet-syntax'
- 'gate-{name}-puppet-module-build-nv'
- 'gate-{name}-puppet-syntax-{puppet_version}-{node}'
- job-group:

View File

@ -1002,6 +1002,7 @@ project-templates:
- gate-{name}-puppet-lint
- gate-{name}-puppet-syntax-3-centos-7
- gate-{name}-puppet-syntax-4-centos-7
- gate-{name}-puppet-module-build-nv
gate:
- gate-{name}-puppet-lint
- gate-{name}-puppet-syntax-3-centos-7
@ -1811,6 +1812,10 @@ jobs:
- ^doc/.*$
- ^releasenotes/.*$
# Only run the puppet module build job on metadata.json updates
- name: ^gate-puppet-.*module-build.*$
files: ^metadata.json$
# tripleo OVB jobs that do not run via tripleo-quickstart do not need to run
# on patches that only touch the scripts/quickstart directory. This will save
# a ton of resources while iterating on the tripleo-quickstart based CI.