Create CI job for network testing
[releng.git] / jjb / qtip / qtip-validate-jobs.yml
1 ---
2 #######################
3 # validate after MERGE
4 #######################
5 - project:
6     name: qtip
7     project: qtip
8
9     # -------------------------------
10     # BRANCH ANCHORS
11     # -------------------------------
12     master: &master
13       stream: master
14       branch: '{stream}'
15       gs-pathname: ''
16       docker-tag: latest
17     fraser: &fraser
18       stream: fraser
19       branch: 'stable/{stream}'
20       gs-pathname: '{stream}'
21       docker-tag: 'stable'
22
23     # -------------------------------
24     # JOB VARIABLES
25     # -------------------------------
26     qpi:
27       - compute:
28           installer: apex
29           pod: zte-virtual5
30           sut: node
31           <<: *master
32       - storage:
33           installer: apex
34           pod: zte-virtual5
35           sut: ''
36           <<: *master
37       - network:
38           installer: apex
39           pod: zte-virtual5
40           sut: ''
41           <<: *master
42       - compute:
43           installer: fuel
44           pod: zte-virtual6
45           sut: vnf
46           <<: *master
47
48
49     # -------------------------------
50     # JOB LIST
51     # -------------------------------
52     jobs:
53       - 'qtip-{qpi}-{installer}-{pod}-{stream}'
54
55 ################################
56 # job templates
57 ################################
58 - job-template:
59     name: 'qtip-{qpi}-{installer}-{pod}-{stream}'
60     disabled: false
61
62     parameters:
63       - project-parameter:
64           project: '{project}'
65           branch: '{branch}'
66       - '{installer}-defaults'
67       - '{pod}-defaults'
68       - string:
69           name: DEPLOY_SCENARIO
70           default: generic
71       - string:
72           name: DOCKER_TAG
73           default: '{docker-tag}'
74           description: 'Tag to pull docker image'
75       - string:
76           name: CI_DEBUG
77           default: 'false'
78           description: "Show debug output information"
79       - string:
80           name: TEST_SUITE
81           default: '{qpi}'
82       - string:
83           name: TESTAPI_URL
84           default: 'http://testresults.opnfv.org/test/api/v1'
85       - string:
86           name: OPNFV_RELEASE
87           default: '{stream}'
88       - string:
89           name: SUT
90           description: "System Under Test"
91           default: '{sut}'
92     scm:
93       - git-scm
94
95     wrappers:
96       - timeout:
97           timeout: 120
98           abort: true
99       - timestamps
100
101     triggers:
102       - 'qtip-daily'
103
104     builders:
105       - description-setter:
106           description: "POD: $NODE_NAME"
107       - shell: |
108           #!/bin/bash
109           source tests/ci/periodic.sh
110
111     publishers:
112       - qtip-common-publishers
113       - email-jenkins-admins-on-failure
114
115 ################
116 # MARCOS
117 ################
118
119 # --------
120 # builder
121 # --------
122
123 # ----------
124 # parameter
125 # ----------
126
127 # ----------
128 # publisher
129 # ----------
130
131 - publisher:
132     name: qtip-common-publishers
133     publishers:
134       - email:
135           recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
136
137 # --------
138 # trigger
139 # --------
140
141 - trigger:
142     name: 'qtip-daily'
143     triggers:
144       - timed: '0 15 * * *'