Merge "Move dlux Sonar scan to Sonarcloud"
[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     disable-job: false
23
24     project-type: freestyle
25
26     disabled: '{disable-job}'
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
40     scm:
41       - integration-gerrit-scm:
42           basedir: '{project-name}'
43           refspec: '$GERRIT_REFSPEC'
44           branch: '{branch}'
45
46     wrappers:
47       - opendaylight-infra-wrappers:
48           build-timeout: '{build-timeout}'
49
50     builders:
51       - shell: !include-raw: setup-ansible-rpm.sh
52       - shell: !include-raw: test-ansible-rpm-default-config.sh
53       - shell: !include-raw: test-ansible-rpm-custom-config.sh
54       - shell: !include-raw: test-ansible-rpm-upgrade.sh
55
56     triggers:
57       - timed: '@weekly'
58       - gerrit-trigger-patch-submitted:
59           gerrit-server-name: '{gerrit-server-name}'
60           project: '{project}'
61           branch: '{branch}'
62           files: '**'
63           forbidden-files: ''
64
65
66     publishers:
67       - lf-infra-publish
68
69 - job-template:
70     name: '{project-name}-test-deb-{stream}'
71
72     node: ubuntu1604-mininet-ovs-25-1c-4g
73     disable-job: false
74
75     project-type: freestyle
76
77     disabled: '{disable-job}'
78
79     properties:
80       - opendaylight-infra-properties:
81           build-days-to-keep: 7
82
83     parameters:
84       - opendaylight-infra-parameters:
85           os-cloud: '{os-cloud}'
86           project: '{project}'
87           branch: '{branch}'
88           refspec: 'refs/heads/{branch}'
89           artifacts: '{archive-artifacts}'
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: setup-ansible-deb.sh
103       - shell: !include-raw: test-ansible-deb-default-config.sh
104       - shell: !include-raw: test-ansible-deb-custom-config.sh
105
106     triggers:
107       - timed: '@weekly'
108       - gerrit-trigger-patch-submitted:
109           gerrit-server-name: '{gerrit-server-name}'
110           project: '{project}'
111           branch: '{branch}'
112           files: '**'
113           forbidden-files: ''
114
115     publishers:
116       - lf-infra-publish
117
118 - project:
119     name: packaging-ansible-view
120     views:
121       - project-view
122     project-name: packaging-ansible