b2c2ad81b5d8ecedba9dfdf90d7a5bfdd0e4fcaa
[releng/builder.git] / jjb / packaging / packaging-ansible.yaml
1 ---
2 - project:
3     name: packaging-ansible
4     project-name: packaging-ansible
5
6     jobs:
7       - '{project-name}-test-rpm-{stream}'
8       - '{project-name}-test-deb-{stream}':
9           disable-job: true
10       - gerrit-tox-verify
11
12     project: 'integration/packaging/ansible-opendaylight'
13
14     stream:
15       - master:
16           branch: 'master'
17
18 - job-template:
19     name: '{project-name}-test-rpm-{stream}'
20
21     node: centos7-builder-2c-2g
22
23     project-type: freestyle
24
25     properties:
26       - opendaylight-infra-properties:
27           build-days-to-keep: 7
28
29     parameters:
30       - opendaylight-infra-parameters:
31           os-cloud: '{os-cloud}'
32           project: '{project}'
33           branch: '{branch}'
34           refspec: 'refs/heads/{branch}'
35           artifacts: '{archive-artifacts}'
36
37     scm:
38       - integration-gerrit-scm:
39           basedir: '{project-name}'
40           refspec: '$GERRIT_REFSPEC'
41           branch: '{branch}'
42
43     wrappers:
44       - opendaylight-infra-wrappers:
45           build-timeout: '{build-timeout}'
46
47     builders:
48       - shell: !include-raw: setup-ansible-rpm.sh
49       - shell: !include-raw: test-ansible-rpm-default-config.sh
50       - shell: !include-raw: test-ansible-rpm-custom-config.sh
51       - shell: !include-raw: test-ansible-rpm-upgrade.sh
52
53     triggers:
54       - timed: '@weekly'
55       - gerrit-trigger-patch-submitted:
56           gerrit-server-name: '{gerrit-server-name}'
57           project: '{project}'
58           branch: '{branch}'
59           files: '**'
60           forbidden-files: ''
61
62
63     publishers:
64       - lf-infra-publish
65
66 - job-template:
67     name: '{project-name}-test-deb-{stream}'
68
69     node: ubuntu1604-mininet-ovs-25-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
85     scm:
86       - integration-gerrit-scm:
87           basedir: '{project-name}'
88           refspec: '$GERRIT_REFSPEC'
89           branch: '{branch}'
90
91     wrappers:
92       - opendaylight-infra-wrappers:
93           build-timeout: '{build-timeout}'
94
95     builders:
96       - shell: !include-raw: setup-ansible-deb.sh
97       - shell: !include-raw: test-ansible-deb-default-config.sh
98       - shell: !include-raw: test-ansible-deb-custom-config.sh
99
100     triggers:
101       - timed: '@weekly'
102       - gerrit-trigger-patch-submitted:
103           gerrit-server-name: '{gerrit-server-name}'
104           project: '{project}'
105           branch: '{branch}'
106           files: '**'
107           forbidden-files: ''
108
109     publishers:
110       - lf-infra-publish
111
112 - project:
113     name: packaging-ansible-view
114     views:
115       - project-view
116     project-name: packaging-ansible