Enable gate on OpenStack Chef Repository

Enables gating on berkshelf install and spiceweasel
running successfully. It's a small but important gate that
will catch glaring cookbook dependency and role definition
errors.

fixes lp 1229296

Change-Id: I86f2cd22decd4318fd4cf5fef278a2ba103797e0
This commit is contained in:
Jay Pipes 2013-09-23 13:03:21 -04:00
parent 1c70ce9072
commit 1f26c6c8df
3 changed files with 28 additions and 2 deletions

View File

@ -33,3 +33,21 @@
publishers:
- console-log
- job:
name: gate-openstack-chef-repo
node: precise
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
mkdir -p .cookbooks .bundle
ruby1.9.1 /usr/bin/bundle install --path=.bundle
# Validates cookbooks
ruby1.9.1 /usr/bin/bundle exec berks install --path=.cookbooks
# Validates roles
ruby1.9.1 /usr/bin/bundle exec spiceweasel infrastructure.yml --debug
publishers:
- console-log

View File

@ -1103,6 +1103,14 @@
- gate-{name}-puppet-syntax
- puppet-module-unit
- project:
name: openstack-chef-repo
github-org: stackforge
node: precise
jobs:
- gate-openstack-chef-repo
- project:
name: cookbook-openstack-common
github-org: stackforge

View File

@ -2805,9 +2805,9 @@ projects:
- name: stackforge/openstack-chef-repo
check:
- gate-noop
- gate-openstack-chef-repo
gate:
- gate-noop
- gate-openstack-chef-repo
- name: stackforge/cookbook-openstack-common
check: