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