project-config/jenkins/jobs/chef-jobs.yaml
Jan Klare 945c4ad386 add xenial to the integration tests for openstack-chef projects
Change-Id: I0cc0c30ea22bf781b8cc9143104c09e3fe186bb5
2016-04-28 15:41:38 -05:00

84 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: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: '{template-name}'
- gerrit-git-prep
- install-distro-packages
- 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-{node}-{name}-chef-rake-integration-nv
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: '{template-name}'
- gerrit-git-prep
- install-distro-packages
- chef-bootstrap
- chef-rake-integration
publishers:
- console-log
- devstack-logs
- job-template:
name: periodic-{node}-{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
- install-distro-packages
- chef-bootstrap
- chef-rake-integration
publishers:
- console-log
- devstack-logs
- job-group:
name: chef-test-jobs
jobs:
- gate-{name}-chef-rake
- gate-{node}-{name}-chef-rake-integration-nv:
node:
- centos-7
- ubuntu-trusty
- ubuntu-xenial
- periodic-{node}-{name}-chef-rake-integration:
node:
- centos-7
- ubuntu-trusty
- ubuntu-xenial