2015-02-09 20:12:16 +01:00
|
|
|
# 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
|
2014-11-25 17:35:00 +01:00
|
|
|
- job-template:
|
2016-07-26 23:07:23 -07:00
|
|
|
name: 'gate-{name}-chef-rake'
|
2017-04-22 19:45:37 +02:00
|
|
|
node: ubuntu-xenial
|
2014-11-25 17:35:00 +01:00
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-25 20:39:22 +01:00
|
|
|
- print-template-name:
|
2016-02-29 18:04:28 +01:00
|
|
|
template-name: '{template-name}'
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-09 11:06:34 +01:00
|
|
|
- install-distro-packages
|
2015-02-09 20:12:16 +01:00
|
|
|
- chef-bootstrap
|
2014-11-25 17:35:00 +01:00
|
|
|
- revoke-sudo
|
|
|
|
- chef-rake-test
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
2015-05-28 15:11:00 +02:00
|
|
|
# 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:
|
2016-07-26 23:07:23 -07:00
|
|
|
name: gate-{name}-chef-rake-integration-{node}-nv
|
2015-05-28 15:11:00 +02:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-25 20:39:22 +01:00
|
|
|
- print-template-name:
|
2016-02-29 18:04:28 +01:00
|
|
|
template-name: '{template-name}'
|
2017-03-14 07:59:35 -07:00
|
|
|
- zuul-git-prep
|
2016-04-05 16:34:36 -04:00
|
|
|
- install-distro-packages
|
2015-05-28 15:11:00 +02:00
|
|
|
- chef-bootstrap
|
|
|
|
- chef-rake-integration
|
|
|
|
|
|
|
|
publishers:
|
2016-03-04 14:46:21 +01:00
|
|
|
- devstack-logs
|
2016-06-15 10:03:06 -04:00
|
|
|
- console-log
|
2015-05-28 15:11:00 +02:00
|
|
|
|
2015-08-31 19:04:29 +02:00
|
|
|
- job-template:
|
2017-03-14 07:59:35 -07:00
|
|
|
name: gate-{name}-chef-rake-integration-multinode-{node-release}-nv
|
2015-08-31 19:04:29 +02:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-25 20:39:22 +01:00
|
|
|
- print-template-name:
|
2016-02-29 18:04:28 +01:00
|
|
|
template-name: '{template-name}'
|
2017-03-14 07:59:35 -07:00
|
|
|
- zuul-git-prep
|
2016-04-05 16:34:36 -04:00
|
|
|
- install-distro-packages
|
2017-03-14 07:59:35 -07:00
|
|
|
- chef-bootstrap-multinode
|
2015-08-31 19:04:29 +02:00
|
|
|
- chef-rake-integration
|
|
|
|
|
|
|
|
publishers:
|
2016-04-14 10:06:36 -05:00
|
|
|
- devstack-logs
|
2016-06-15 10:03:06 -04:00
|
|
|
- console-log
|
2015-08-31 19:04:29 +02:00
|
|
|
|
2015-06-08 11:26:38 +02:00
|
|
|
- job-group:
|
2017-03-14 07:59:35 -07:00
|
|
|
name: chef-rake-jobs
|
2015-06-08 11:26:38 +02:00
|
|
|
jobs:
|
2016-02-29 18:04:28 +01:00
|
|
|
- gate-{name}-chef-rake
|
2016-07-26 23:07:23 -07:00
|
|
|
- gate-{name}-chef-rake-integration-{node}-nv:
|
2016-02-29 18:04:28 +01:00
|
|
|
node:
|
2016-03-31 13:49:58 -04:00
|
|
|
- centos-7
|
2016-04-28 15:40:13 -05:00
|
|
|
- ubuntu-xenial
|
2017-03-14 07:59:35 -07:00
|
|
|
- 'gate-{name}-chef-rake-integration-multinode-{node-release}-nv':
|
|
|
|
node-release: centos-7
|
|
|
|
node: centos-7-2-node
|
|
|
|
- 'gate-{name}-chef-rake-integration-multinode-{node-release}-nv':
|
|
|
|
node-release: ubuntu-xenial
|
|
|
|
node: ubuntu-xenial-2-node
|