Merge "Job for testing the ODL user configuration"
[releng/builder.git] / jjb / packaging / ansible.yaml
1 ---
2 - project:
3     name: ansible
4     project-name: ansible
5
6     jobs:
7       - '{project-name}-test-rpm-{stream}'
8       - '{project-name}-test-deb-{stream}'
9       - gerrit-tox-verify
10
11     project: 'integration/packaging/ansible-opendaylight'
12
13     stream:
14       - master:
15           branch: 'master'
16
17 - job-template:
18     name: '{project-name}-test-rpm-{stream}'
19
20     node: centos7-builder-2c-8g
21
22     project-type: freestyle
23
24     properties:
25       - opendaylight-infra-properties:
26           build-days-to-keep: 7
27
28     parameters:
29       - opendaylight-infra-parameters:
30           os-cloud: '{os-cloud}'
31           project: '{project}'
32           branch: '{branch}'
33           refspec: 'refs/heads/{branch}'
34           artifacts: '{archive-artifacts}'
35
36     scm:
37       - integration-gerrit-scm:
38           basedir: '{project-name}'
39           refspec: '$GERRIT_REFSPEC'
40           branch: '{branch}'
41
42     wrappers:
43       - opendaylight-infra-wrappers:
44           build-timeout: '{build-timeout}'
45
46     builders:
47       - shell: !include-raw: test-ansible-rpm.sh
48       - shell: !include-raw: test-ansible-odl-user.sh
49
50     triggers:
51       - timed: '@daily'
52       - gerrit-trigger-patch-submitted:
53           gerrit-server-name: '{gerrit-server-name}'
54           project: '{project}'
55           branch: '{branch}'
56           files: '**'
57
58     publishers:
59       - lf-infra-publish
60
61 - job-template:
62     name: '{project-name}-test-deb-{stream}'
63
64     node: ubuntu1604-mininet-ovs-25-1c-4g
65
66     project-type: freestyle
67
68     properties:
69       - opendaylight-infra-properties:
70           build-days-to-keep: 7
71
72     parameters:
73       - opendaylight-infra-parameters:
74           os-cloud: '{os-cloud}'
75           project: '{project}'
76           branch: '{branch}'
77           refspec: 'refs/heads/{branch}'
78           artifacts: '{archive-artifacts}'
79
80     scm:
81       - integration-gerrit-scm:
82           basedir: '{project-name}'
83           refspec: '$GERRIT_REFSPEC'
84           branch: '{branch}'
85
86     wrappers:
87       - opendaylight-infra-wrappers:
88           build-timeout: '{build-timeout}'
89
90     builders:
91       - shell: !include-raw: test-ansible-deb.sh
92
93     triggers:
94       - timed: '@daily'
95       - gerrit-trigger-patch-submitted:
96           gerrit-server-name: '{gerrit-server-name}'
97           project: '{project}'
98           branch: '{branch}'
99           files: '**'
100
101     publishers:
102       - lf-infra-publish