project-config/jenkins/jobs/chef-jobs.yaml
Christoph Albers de88b1b286 Removed testjobs and corresponding chef-jobs
* deleted juno and icehouse testjobs caused of deprecation
* deleted chef-jobs and made all integration gate jobs non
  voting
Change-Id: Ie8efac35cd6293bf2275cacb76946593b77cc338
2016-01-08 11:40:27 +01:00

89 lines
2.1 KiB
YAML

# this job template requires a bootstrap.sh script (which installs chefdk and other dependencies)
# and a Rakefile with the tests that should be executed in the cookbook
- job-template:
name: 'gate-{name}-chef-rake'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- chef-bootstrap
- revoke-sudo
- chef-rake-test
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-nv'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- chef-bootstrap
- chef-rake-integration
publishers:
- console-log
- job-template:
name: 'periodic-{name}-chef-rake-integration'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- branch-git-prep:
branch: master
- chef-bootstrap
- chef-rake-integration
publishers:
- console-log
- job:
name: gate-openstack-chef-repo
node: bare-precise
builders:
- gerrit-git-prep
- ruby-191-prep
- chef-bundler-prep
- revoke-sudo
- chef-berkshelf-prep
- shell: |
#!/bin/bash -xe
# Validates roles
bundle exec spiceweasel infrastructure.yml --debug
publishers:
- console-log
- job-group:
name: chef-test-jobs
jobs:
- 'gate-{name}-chef-rake'
- 'gate-{name}-chef-rake-integration-nv'
- 'periodic-{name}-chef-rake-integration'