Merge "Update Centos 7 devstack images"
[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           forbidden-files: ''
58
59
60     publishers:
61       - lf-infra-publish
62
63 - job-template:
64     name: '{project-name}-test-deb-{stream}'
65
66     node: ubuntu1604-mininet-ovs-25-1c-4g
67
68     project-type: freestyle
69
70     properties:
71       - opendaylight-infra-properties:
72           build-days-to-keep: 7
73
74     parameters:
75       - opendaylight-infra-parameters:
76           os-cloud: '{os-cloud}'
77           project: '{project}'
78           branch: '{branch}'
79           refspec: 'refs/heads/{branch}'
80           artifacts: '{archive-artifacts}'
81
82     scm:
83       - integration-gerrit-scm:
84           basedir: '{project-name}'
85           refspec: '$GERRIT_REFSPEC'
86           branch: '{branch}'
87
88     wrappers:
89       - opendaylight-infra-wrappers:
90           build-timeout: '{build-timeout}'
91
92     builders:
93       - shell: !include-raw: test-ansible-deb.sh
94
95     triggers:
96       - timed: '@daily'
97       - gerrit-trigger-patch-submitted:
98           gerrit-server-name: '{gerrit-server-name}'
99           project: '{project}'
100           branch: '{branch}'
101           files: '**'
102           forbidden-files: ''
103
104     publishers:
105       - lf-infra-publish