5b84a1fef11747499239a4dda8156169150177ae
[releng/builder.git] / jjb / packaging / puppet.yaml
1 ---
2 - project:
3     name: puppet
4     project-name: puppet
5
6     jobs:
7       - '{project-name}-verify-tox-{stream}'
8       - '{project-name}-test-sanity-{stream}'
9       - '{project-name}-test-full-{stream}'
10
11     project: 'integration/packaging/puppet-opendaylight'
12
13     stream:
14       - master:
15           branch: 'master'
16       - nitrogen:
17           branch: 'stable/nitrogen'
18       - carbon:
19           branch: 'stable/carbon'
20       - boron:
21           branch: 'stable/boron'
22
23 - job-template:
24     name: '{project-name}-test-sanity-{stream}'
25
26     node: centos7-docker-2c-4g
27
28     project-type: freestyle
29
30     properties:
31       - opendaylight-infra-properties:
32           build-days-to-keep: 7
33
34     parameters:
35       - opendaylight-infra-parameters:
36           os-cloud: '{os-cloud}'
37           project: '{project}'
38           branch: '{branch}'
39           refspec: 'refs/heads/{branch}'
40           artifacts: '{archive-artifacts}'
41       - string:
42           name: TEST_SUITE
43           default: 'sanity'
44           description: 'Set of tests to execute, Rakefile task'
45
46     scm:
47       - integration-gerrit-scm:
48           basedir: '{project-name}'
49           refspec: '$GERRIT_REFSPEC'
50           branch: '{branch}'
51
52     wrappers:
53       - opendaylight-infra-wrappers:
54           build-timeout: '{build-timeout}'
55
56     builders:
57       - shell: !include-raw: test-puppet.sh
58
59     triggers:
60       - timed: '@weekly'
61       - gerrit-trigger-patch-submitted:
62           server: '{server-name}'
63           project: '{project}'
64           branch: '{branch}'
65           files: '**'
66
67     publishers:
68       - lf-infra-publish
69
70 - job-template:
71     name: '{project-name}-test-full-{stream}'
72
73     node: centos7-docker-2c-4g
74
75     project-type: freestyle
76
77     properties:
78       - opendaylight-infra-properties:
79           build-days-to-keep: 7
80
81     parameters:
82       - opendaylight-infra-parameters:
83           os-cloud: '{os-cloud}'
84           project: '{project}'
85           branch: '{branch}'
86           refspec: 'refs/heads/{branch}'
87           artifacts: '{archive-artifacts}'
88       - string:
89           name: TEST_SUITE
90           default: 'acceptance_dock'
91           description: 'Set of tests to execute, Rakefile task'
92
93     scm:
94       - integration-gerrit-scm:
95           basedir: '{project-name}'
96           refspec: '$GERRIT_REFSPEC'
97           branch: '{branch}'
98
99     wrappers:
100       - opendaylight-infra-wrappers:
101           build-timeout: '{build-timeout}'
102
103     builders:
104       - shell: !include-raw: test-puppet.sh
105
106     triggers:
107       - timed: '@daily'
108       - gerrit:
109           server-name: '{server-name}'
110           trigger-on:
111             - comment-added-contains-event:
112                 comment-contains-value: 'puppet-test-full'
113           projects:
114             - project-compare-type: 'ANT'
115               project-pattern: '{project}'
116               branches:
117                 - branch-compare-type: 'ANT'
118                   branch-pattern: '**/{branch}'
119
120     publishers:
121       - lf-infra-publish