Merge "add experimental job for integration testing with rake on chef cookbooks"

This commit is contained in:
Jenkins 2015-06-10 15:16:35 +00:00 committed by Gerrit Code Review
commit 62e49eff01
4 changed files with 48 additions and 1 deletions

View File

@ -38,6 +38,26 @@
publishers:
- console-log
# this job template requires a bootstrap.sh script (which installs chefdk and other dependencies)
# and a Rakefile with the integration tests that should be executed
# sudo privileges for jenkins are not revoked, since they are needed during the chef run executed for integration testing
- job-template:
name: 'gate-{name}-chef-rake-integration'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- gerrit-git-prep
- chef-bootstrap
- chef-rake-integration
publishers:
- console-log
- job-template:
name: 'gate-{name}-chef-lint'
node: '{node}'

View File

@ -281,6 +281,13 @@
#!/bin/bash -x
chef exec rake
- builder:
name: chef-rake-integration
builders:
- shell: |
#!/bin/bash -x
chef exec rake integration
- builder:
name: chef-berkshelf-prep
builders:

View File

@ -3622,6 +3622,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-block-storage
@ -3632,6 +3633,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-client
@ -3642,6 +3644,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-common
@ -3652,6 +3655,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-compute
@ -3662,6 +3666,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-dashboard
@ -3672,6 +3677,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-data-processing
@ -3682,6 +3688,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-database
@ -3692,6 +3699,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-identity
@ -3702,6 +3710,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-image
@ -3712,6 +3721,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-integration-test
@ -3722,6 +3732,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-network
@ -3732,6 +3743,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-object-storage
@ -3742,6 +3754,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-ops-database
@ -3752,6 +3765,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-ops-messaging
@ -3762,6 +3776,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-orchestration
@ -3772,6 +3787,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-openstack-telemetry
@ -3782,6 +3798,7 @@
- gate-{name}-chef-style
- gate-{name}-chef-unit
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: cookbook-pacemaker
@ -4697,6 +4714,7 @@
jobs:
- gate-openstack-chef-repo
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration
- project:
name: openstack-chef-specs

View File

@ -430,6 +430,8 @@ project-templates:
- 'gate-{name}-chef-rake'
gate:
- 'gate-{name}-chef-rake'
experimental:
- 'gate-{name}-chef-rake-integration'
# Note that we only publish integrated and incubated
# projects/programs on specs.o.o - the publish-specs job should not
@ -540,7 +542,7 @@ jobs:
- name: ^gate-.*-chef-(lint|style|unit|repo)$
parameter-function: set_node_options_default_precise
branch: ^stable/(icehouse|juno)$
- name: ^gate-.*-chef-rake$
- name: ^gate-.*-chef-rake.*$
branch: ^(?!stable/(icehouse|juno)).*$
# openstackid doesn't work with php5-mcrypt on trusty
- name: ^.*openstackid-(unittests|release).*$