blob: 1b8afe682bf1ea90e417e1fe8bf610c1e116a244 [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
74 - string:
75 name: notificationEmail
76 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
77 description: ''
78
79 concurrent: true
80
81 pipeline-scm:
82 script-path: '{Jenkinsfile}'
83 scm:
84 - git:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -070085 url: '{gerrit-server-url}/cord-tester'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070086 branches:
87 - '{branch}'
88
89- job-template:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070090 name: 'build_{profile}_{config-pod}_{scenario}_{branch}'
91 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070092 description: |
93 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070094 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -070095 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
96 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
97 Copyright (c) 2017 Open Networking Foundation (ONF)
98
99 <<: *test-pipe-job-boiler-plate
100
101 parameters:
102 - string:
103 name: TestNodeName
104 default: '{testvm}'
105 description: 'Jenkins node name of TestVM Node'
106
107 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700108 name: cordRepoUrl
109 default: '{gerrit-server-url}'
110 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700111
112 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700113 name: configBaseDir
114 default: 'pod-configs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700115 description: 'The directory inside the POD configs repository'
116
117 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700118 name: configDeploymentDir
119 default: 'deployment-configs'
120 description: 'The deployment configs folder'
121
122 - string:
123 name: configKubernetesDir
124 default: 'kubernetes-configs'
125 description: 'The kubernetes config folder'
126
127 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -0700128 name: configToscaDir
129 default: 'tosca-configs'
130 description: 'The tosca config folder'
131
132 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700133 name: configFileName
134 default: '{config-pod}'
135 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700136
137 - string:
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700138 name: oltDebVersion
Kailash Khalasibd659412018-08-28 10:37:05 -0700139 default: '{oltDebVersion}'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700140 description: 'OLT Software version to install'
141
142 - string:
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700143 name: branch
144 default: '{branch}'
145
146 - string:
147 name: notificationEmail
148 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
149 description: ''
150
151 concurrent: true
152
153 pipeline-scm:
154 script-path: '{Jenkinsfile}'
155 scm:
156 - git:
157 url: '{gerrit-server-url}/cord-tester'
158 branches:
159 - '{branch}'
160
161 triggers:
162 - timed: |
163 TZ=America/Los_Angeles
Suchitra Vemuri6f81c812018-08-06 12:46:36 -0700164 H {time} {day} * *