Kailash Khalasi | 417d13f | 2018-04-17 12:38:48 -0700 | [diff] [blame] | 1 | --- |
| 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 Khalasi | 417d13f | 2018-04-17 12:38:48 -0700 | [diff] [blame] | 16 | |
| 17 | - job-template: |
Kailash Khalasi | e3b9148 | 2018-10-11 08:31:29 -0700 | [diff] [blame] | 18 | name: 'build_{profile}_{config-pod}_{branch}_manual' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 19 | id: build_pod_manual |
| 20 | description: | |
| 21 | <!-- Managed by Jenkins Job Builder --> |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 22 | Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br /> |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 23 | 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 Khalasi | 7637aeb | 2018-08-23 10:30:09 -0700 | [diff] [blame] | 31 | name: TestNodeName |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 32 | default: '{testvm}' |
| 33 | description: 'Jenkins node name of TestVM Node' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 34 | |
| 35 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 36 | name: cordRepoUrl |
| 37 | default: '{gerrit-server-url}' |
| 38 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 39 | |
| 40 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 41 | name: configBaseDir |
| 42 | default: 'pod-configs' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 43 | description: 'The directory inside the POD configs repository' |
| 44 | |
| 45 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 46 | 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 Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 56 | name: configToscaDir |
| 57 | default: 'tosca-configs' |
| 58 | description: 'The tosca config folder' |
| 59 | |
| 60 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 61 | 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 Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 69 | |
| 70 | - string: |
| 71 | name: branch |
| 72 | default: '{branch}' |
| 73 | |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 74 | - string: |
| 75 | name: profile |
| 76 | default: '{profile}' |
| 77 | description: 'Profile in which this job installs' |
| 78 | |
Kailash Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 79 | - bool: |
| 80 | name: configurePod |
| 81 | default: true |
| 82 | description: "Configure POD via TOSCA post build" |
| 83 | |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 84 | - string: |
| 85 | name: notificationEmail |
| 86 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 87 | description: '' |
| 88 | |
| 89 | concurrent: true |
| 90 | |
| 91 | pipeline-scm: |
| 92 | script-path: '{Jenkinsfile}' |
| 93 | scm: |
| 94 | - git: |
Kailash Khalasi | 7637aeb | 2018-08-23 10:30:09 -0700 | [diff] [blame] | 95 | url: '{gerrit-server-url}/cord-tester' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 96 | branches: |
| 97 | - '{branch}' |
| 98 | |
| 99 | - job-template: |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 100 | name: 'build_{profile}_{config-pod}_{branch}' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 101 | id: build_pod_timer |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 102 | description: | |
| 103 | <!-- Managed by Jenkins Job Builder --> |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 104 | Nightly Kubernetes tests on {config-pod} <br /><br /> |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 105 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 106 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 107 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 108 | |
| 109 | <<: *test-pipe-job-boiler-plate |
| 110 | |
| 111 | parameters: |
| 112 | - string: |
| 113 | name: TestNodeName |
| 114 | default: '{testvm}' |
| 115 | description: 'Jenkins node name of TestVM Node' |
| 116 | |
| 117 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 118 | name: cordRepoUrl |
| 119 | default: '{gerrit-server-url}' |
| 120 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 121 | |
| 122 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 123 | name: configBaseDir |
| 124 | default: 'pod-configs' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 125 | description: 'The directory inside the POD configs repository' |
| 126 | |
| 127 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 128 | name: configDeploymentDir |
| 129 | default: 'deployment-configs' |
| 130 | description: 'The deployment configs folder' |
| 131 | |
| 132 | - string: |
| 133 | name: configKubernetesDir |
| 134 | default: 'kubernetes-configs' |
| 135 | description: 'The kubernetes config folder' |
| 136 | |
| 137 | - string: |
Kailash Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 138 | name: configToscaDir |
| 139 | default: 'tosca-configs' |
| 140 | description: 'The tosca config folder' |
| 141 | |
| 142 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 143 | name: configFileName |
| 144 | default: '{config-pod}' |
| 145 | description: 'The config file' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 146 | |
| 147 | - string: |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 148 | name: oltDebVersion |
Kailash Khalasi | bd65941 | 2018-08-28 10:37:05 -0700 | [diff] [blame] | 149 | default: '{oltDebVersion}' |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 150 | description: 'OLT Software version to install' |
| 151 | |
| 152 | - string: |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 153 | name: branch |
| 154 | default: '{branch}' |
| 155 | |
| 156 | - string: |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 157 | name: profile |
| 158 | default: '{profile}' |
| 159 | description: 'Profile in which this job installs' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 160 | |
Kailash Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 161 | - bool: |
| 162 | name: configurePod |
| 163 | default: true |
| 164 | description: "Configure POD via TOSCA post build" |
| 165 | |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 166 | - string: |
| 167 | name: notificationEmail |
| 168 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 169 | description: '' |
| 170 | |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 171 | concurrent: true |
| 172 | |
| 173 | pipeline-scm: |
| 174 | script-path: '{Jenkinsfile}' |
| 175 | scm: |
| 176 | - git: |
| 177 | url: '{gerrit-server-url}/cord-tester' |
| 178 | branches: |
| 179 | - '{branch}' |
| 180 | |
| 181 | triggers: |
| 182 | - timed: | |
| 183 | TZ=America/Los_Angeles |
Kailash Khalasi | acd7ea0 | 2018-09-28 13:36:47 -0700 | [diff] [blame] | 184 | H {time} * * * |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 185 | |
| 186 | - job-template: |
| 187 | name: 'build_{profile}_{config-pod}_{branch}_test' |
| 188 | id: build_pod_test |
| 189 | description: | |
| 190 | <!-- Managed by Jenkins Job Builder --> |
| 191 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br /> |
| 192 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 193 | Created by Kailash Khalasi - kailash@opennetworking.org <br /> |
| 194 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 195 | |
| 196 | <<: *test-pipe-job-boiler-plate |
| 197 | |
| 198 | parameters: |
| 199 | - string: |
| 200 | name: TestNodeName |
| 201 | default: '{testvm}' |
| 202 | description: 'Jenkins node name of TestVM Node' |
| 203 | |
| 204 | - string: |
| 205 | name: cordRepoUrl |
| 206 | default: '{gerrit-server-url}' |
| 207 | description: 'The URL of the CORD Project repository' |
| 208 | |
| 209 | - string: |
| 210 | name: configBaseDir |
| 211 | default: 'pod-configs' |
| 212 | description: 'The directory inside the POD configs repository' |
| 213 | |
| 214 | - string: |
| 215 | name: configDeploymentDir |
| 216 | default: 'deployment-configs' |
| 217 | description: 'The deployment configs folder' |
| 218 | |
| 219 | - string: |
| 220 | name: configKubernetesDir |
| 221 | default: 'kubernetes-configs' |
| 222 | description: 'The kubernetes config folder' |
| 223 | |
| 224 | - string: |
| 225 | name: configToscaDir |
| 226 | default: 'tosca-configs' |
| 227 | description: 'The tosca config folder' |
| 228 | |
| 229 | - string: |
| 230 | name: configFileName |
| 231 | default: '{config-pod}' |
| 232 | description: 'The config file' |
| 233 | |
| 234 | - string: |
| 235 | name: branch |
| 236 | default: '{branch}' |
| 237 | |
| 238 | - string: |
| 239 | name: notificationEmail |
| 240 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 241 | description: '' |
| 242 | |
| 243 | concurrent: true |
| 244 | |
| 245 | pipeline-scm: |
| 246 | script-path: '{Jenkinsfile}' |
| 247 | scm: |
| 248 | - git: |
| 249 | url: '{gerrit-server-url}/cord-tester' |
| 250 | branches: |
| 251 | - '{branch}' |
| 252 | |
| 253 | triggers: |
| 254 | - reverse: |
| 255 | jobs: 'build_{profile}_{config-pod}_{branch}' |
| 256 | result: 'success' |