blob: 279ae966031e644352703e3ef566ae4fd170faa8 [file] [log] [blame]
Kailash Khalasi417d13f2018-04-17 12:38:48 -07001---
2# POD Nightly Build Pipeline Jobs
3
4- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
5 name: test-pipe-job-boiler-plate
6
7 project-type: pipeline
8
9 sandbox: true
10
11 properties:
12 - cord-infra-properties:
13 build-days-to-keep: '{build-days-to-keep}'
14 artifact-num-to-keep: '{artifact-num-to-keep}'
15
Kailash Khalasi417d13f2018-04-17 12:38:48 -070016
17- job-template:
Kailash Khalasi619e6882018-09-13 13:15:37 -070018 name: 'build_{profile}_{config-pod}_{scenario}_{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070019 id: build_pod_manual
20 description: |
21 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070022 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070023 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
24 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
25 Copyright (c) 2018 Open Networking Foundation (ONF)
26
27 <<: *test-pipe-job-boiler-plate
28
29 parameters:
30 - string:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -070031 name: TestNodeName
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070032 default: '{testvm}'
33 description: 'Jenkins node name of TestVM Node'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070034
35 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070036 name: cordRepoUrl
37 default: '{gerrit-server-url}'
38 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070039
40 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070041 name: configBaseDir
42 default: 'pod-configs'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070043 description: 'The directory inside the POD configs repository'
44
45 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070046 name: configDeploymentDir
47 default: 'deployment-configs'
48 description: 'The deployment configs folder'
49
50 - string:
51 name: configKubernetesDir
52 default: 'kubernetes-configs'
53 description: 'The kubernetes config folder'
54
55 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -070056 name: configToscaDir
57 default: 'tosca-configs'
58 description: 'The tosca config folder'
59
60 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070061 name: configFileName
62 default: '{config-pod}'
63 description: 'The config file'
64
65 - string:
66 name: oltDebVersion
67 default: '{oltDebVersion}'
68 description: 'OLT Software version to install'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070069
70 - string:
71 name: branch
72 default: '{branch}'
73
Kailash Khalasice9eaec2018-09-14 12:01:56 -070074 - bool:
75 name: configurePod
76 default: true
77 description: "Configure POD via TOSCA post build"
78
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070079 - string:
80 name: notificationEmail
81 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
82 description: ''
83
84 concurrent: true
85
86 pipeline-scm:
87 script-path: '{Jenkinsfile}'
88 scm:
89 - git:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -070090 url: '{gerrit-server-url}/cord-tester'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070091 branches:
92 - '{branch}'
93
94- job-template:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070095 name: 'build_{profile}_{config-pod}_{scenario}_{branch}'
96 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070097 description: |
98 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070099 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700100 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
101 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
102 Copyright (c) 2017 Open Networking Foundation (ONF)
103
104 <<: *test-pipe-job-boiler-plate
105
106 parameters:
107 - string:
108 name: TestNodeName
109 default: '{testvm}'
110 description: 'Jenkins node name of TestVM Node'
111
112 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700113 name: cordRepoUrl
114 default: '{gerrit-server-url}'
115 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700116
117 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700118 name: configBaseDir
119 default: 'pod-configs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700120 description: 'The directory inside the POD configs repository'
121
122 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700123 name: configDeploymentDir
124 default: 'deployment-configs'
125 description: 'The deployment configs folder'
126
127 - string:
128 name: configKubernetesDir
129 default: 'kubernetes-configs'
130 description: 'The kubernetes config folder'
131
132 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -0700133 name: configToscaDir
134 default: 'tosca-configs'
135 description: 'The tosca config folder'
136
137 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700138 name: configFileName
139 default: '{config-pod}'
140 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700141
142 - string:
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700143 name: oltDebVersion
Kailash Khalasibd659412018-08-28 10:37:05 -0700144 default: '{oltDebVersion}'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700145 description: 'OLT Software version to install'
146
147 - string:
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700148 name: branch
149 default: '{branch}'
150
151 - string:
152 name: notificationEmail
153 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
154 description: ''
155
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700156 - bool:
157 name: configurePod
158 default: true
159 description: "Configure POD via TOSCA post build"
160
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700161 concurrent: true
162
163 pipeline-scm:
164 script-path: '{Jenkinsfile}'
165 scm:
166 - git:
167 url: '{gerrit-server-url}/cord-tester'
168 branches:
169 - '{branch}'
170
171 triggers:
172 - timed: |
173 TZ=America/Los_Angeles
Suchitra Vemuri6f81c812018-08-06 12:46:36 -0700174 H {time} {day} * *