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 | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 18 | name: 'build_{profile}_{config-pod}_{scenario}_{branch}' |
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 | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 74 | - bool: |
| 75 | name: configurePod |
| 76 | default: true |
| 77 | description: "Configure POD via TOSCA post build" |
| 78 | |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 79 | - 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 Khalasi | 7637aeb | 2018-08-23 10:30:09 -0700 | [diff] [blame] | 90 | url: '{gerrit-server-url}/cord-tester' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 91 | branches: |
| 92 | - '{branch}' |
| 93 | |
| 94 | - job-template: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 95 | name: 'build_{profile}_{config-pod}_{scenario}_{branch}' |
| 96 | id: build_pod_timer |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 97 | description: | |
| 98 | <!-- Managed by Jenkins Job Builder --> |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 99 | Nightly Kubernetes tests on {config-pod} <br /><br /> |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 100 | 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 Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 113 | name: cordRepoUrl |
| 114 | default: '{gerrit-server-url}' |
| 115 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 116 | |
| 117 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 118 | name: configBaseDir |
| 119 | default: 'pod-configs' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 120 | description: 'The directory inside the POD configs repository' |
| 121 | |
| 122 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 123 | 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 Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 133 | name: configToscaDir |
| 134 | default: 'tosca-configs' |
| 135 | description: 'The tosca config folder' |
| 136 | |
| 137 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 138 | name: configFileName |
| 139 | default: '{config-pod}' |
| 140 | description: 'The config file' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 141 | |
| 142 | - string: |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 143 | name: oltDebVersion |
Kailash Khalasi | bd65941 | 2018-08-28 10:37:05 -0700 | [diff] [blame] | 144 | default: '{oltDebVersion}' |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 145 | description: 'OLT Software version to install' |
| 146 | |
| 147 | - string: |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 148 | 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 Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 156 | - bool: |
| 157 | name: configurePod |
| 158 | default: true |
| 159 | description: "Configure POD via TOSCA post build" |
| 160 | |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 161 | 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 Vemuri | 6f81c81 | 2018-08-06 12:46:36 -0700 | [diff] [blame] | 174 | H {time} {day} * * |