configure puppet-module-unit tests for zuul
This commit attempts to fix the unit test gates by adding a few parameters that are required for zuul to build the jobs. Change-Id: I8b9c14b1be636e82dbfc3f88b6501813aff41d4c Reviewed-on: https://review.openstack.org/26393 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
a09c10ea78
commit
d719583ea0
@ -2,13 +2,23 @@
|
|||||||
name: 'gate-{name}-puppet-unit-{puppet_version}'
|
name: 'gate-{name}-puppet-unit-{puppet_version}'
|
||||||
node: '{node}'
|
node: '{node}'
|
||||||
|
|
||||||
|
triggers:
|
||||||
|
- zuul
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
export PUPPET_GEM_VERSION={puppet_version}
|
export PUPPET_GEM_VERSION={puppet_version}
|
||||||
|
mkdir .bundled_gems
|
||||||
|
export GEM_HOME=`pwd`/.bundled_gems
|
||||||
bundle install
|
bundle install
|
||||||
echo {puppet_version} | grep '2.6' && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true
|
echo {puppet_version} | grep '2.6' && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true
|
||||||
bundle exec rake spec SPEC_OPTS='--format documentation'
|
bundle exec rake spec SPEC_OPTS='--format documentation'
|
||||||
|
|
||||||
|
publishers:
|
||||||
|
- console-log
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- job-group:
|
- job-group:
|
||||||
name: 'puppet-module-unit'
|
name: 'puppet-module-unit'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user