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