Merge "Update Centos 7 docker images"
[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           forbidden-files: ''
63
64     publishers:
65       - lf-infra-publish
66
67 - job-template:
68     name: '{project-name}-test-full-{stream}'
69
70     node: centos7-docker-1c-4g
71
72     project-type: freestyle
73
74     properties:
75       - opendaylight-infra-properties:
76           build-days-to-keep: 7
77
78     parameters:
79       - opendaylight-infra-parameters:
80           os-cloud: '{os-cloud}'
81           project: '{project}'
82           branch: '{branch}'
83           refspec: 'refs/heads/{branch}'
84           artifacts: '{archive-artifacts}'
85       - string:
86           name: TEST_SUITE
87           default: 'acceptance_dock'
88           description: 'Set of tests to execute, Rakefile task'
89
90     scm:
91       - integration-gerrit-scm:
92           basedir: '{project-name}'
93           refspec: '$GERRIT_REFSPEC'
94           branch: '{branch}'
95
96     wrappers:
97       - opendaylight-infra-wrappers:
98           build-timeout: '{build-timeout}'
99
100     builders:
101       - shell: !include-raw: test-puppet.sh
102
103     triggers:
104       - timed: '@daily'
105       - gerrit:
106           server-name: '{gerrit-server-name}'
107           trigger-on:
108             - comment-added-contains-event:
109                 comment-contains-value: 'puppet-test-full'
110           projects:
111             - project-compare-type: 'ANT'
112               project-pattern: '{project}'
113               branches:
114                 - branch-compare-type: 'ANT'
115                   branch-pattern: '**/{branch}'
116
117     publishers:
118       - lf-infra-publish