Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 1 | --- |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 2 | # omec-ci jobs |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 3 | # Uses github pull request builder to trigger and Jenkinsfiles from this repo |
| 4 | # https://github.com/omec-project/omec-project-ci |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 5 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 6 | # generic OMEC test-case jobs, shared by other projects and triggered within pipelines |
| 7 | - project: |
| 8 | name: omec |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 9 | build-node: 'intel-102' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 10 | |
| 11 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 12 | github_pr_org_list: |
| 13 | - 'omec-project' |
| 14 | |
| 15 | jobs: |
| 16 | - 'omec-tc1' |
| 17 | - 'omec-tc2' |
Jeremy Ronquillo | 6d1e08a | 2020-04-03 11:31:32 -0700 | [diff] [blame] | 18 | - 'omec-deploy-staging' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 19 | - 'omec-postmerge': |
| 20 | project: '{name}' |
| 21 | build-node: 'omec-qa' |
| 22 | c3po-branch-name: 'multiUpfs' |
You Wang | b242ae4 | 2020-04-15 12:32:32 -0700 | [diff] [blame] | 23 | ngic-branch-name: 'central-cp-multi-upfs' |
You Wang | a1dcf25 | 2020-05-19 17:22:42 -0700 | [diff] [blame] | 24 | openmme-branch-name: 'master' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 25 | pipeline-file: 'omec-postmerge.groovy' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 26 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 27 | # for ngic-rtc |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 28 | - project: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 29 | name: ngic-rtc |
| 30 | project: '{name}' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 31 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 32 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 33 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 34 | github-organization: 'omec-project' |
| 35 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 36 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 37 | github_pr_org_list: |
| 38 | - 'omec-project' |
| 39 | |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 40 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 41 | - 'omec-combined': |
| 42 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 43 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 44 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 45 | sub-project: '{name}' |
You Wang | 4cba361 | 2020-04-29 16:47:10 -0700 | [diff] [blame] | 46 | branch: 'central-cp-multi-upfs' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 47 | pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 48 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 49 | pipeline-file: 'omec-fossa-scan.groovy' |
| 50 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 51 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 52 | pipeline-file: 'omec-reuse-scan.groovy' |
| 53 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 54 | - 'docker-publish-github': |
| 55 | build-timeout: 30 |
| 56 | docker-repo: 'omecproject' |
You Wang | 8512b83 | 2020-03-25 14:47:56 -0700 | [diff] [blame] | 57 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 58 | - 'omec-comac-in-a-box': |
| 59 | build-node: 'comac_in_a_box' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 60 | |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 61 | # for c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 62 | - project: |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 63 | name: c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 64 | project: '{name}' |
| 65 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 66 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 67 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 68 | github-organization: 'omec-project' |
| 69 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 70 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 71 | github_pr_org_list: |
| 72 | - 'omec-project' |
| 73 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 74 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 75 | - 'omec-combined': |
| 76 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 77 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 78 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 79 | sub-project: 'c3po-sgx' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 80 | branch: 'master' |
Zack Williams | 6202145 | 2019-04-15 13:23:46 -0700 | [diff] [blame] | 81 | pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 82 | - 'omec-install': |
| 83 | sub-project: 'c3po-hss' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 84 | branch: 'master' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 85 | pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 86 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 87 | pipeline-file: 'omec-fossa-scan.groovy' |
| 88 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 89 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 90 | pipeline-file: 'omec-reuse-scan.groovy' |
| 91 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 92 | - 'docker-publish-github': |
| 93 | build-timeout: 30 |
| 94 | docker-repo: 'omecproject' |
You Wang | 715d5fc | 2020-04-30 16:23:35 -0700 | [diff] [blame] | 95 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 96 | - 'omec-comac-in-a-box': |
| 97 | build-node: 'comac_in_a_box' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 98 | |
| 99 | # for openmme |
| 100 | - project: |
| 101 | name: openmme |
| 102 | project: '{name}' |
| 103 | |
Zack Williams | df7f9d3 | 2019-11-05 07:40:20 -0700 | [diff] [blame] | 104 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 105 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 106 | github-organization: 'omec-project' |
| 107 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 108 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 109 | github_pr_org_list: |
| 110 | - 'omec-project' |
| 111 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 112 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 113 | - 'omec-combined': |
| 114 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 115 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 116 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 117 | sub-project: '{name}' |
You Wang | a1dcf25 | 2020-05-19 17:22:42 -0700 | [diff] [blame] | 118 | branch: 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 119 | pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 120 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 121 | pipeline-file: 'omec-fossa-scan.groovy' |
| 122 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 123 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 124 | pipeline-file: 'omec-reuse-scan.groovy' |
| 125 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 126 | - 'docker-publish-github': |
| 127 | build-timeout: 30 |
| 128 | docker-repo: 'omecproject' |
You Wang | 8512b83 | 2020-03-25 14:47:56 -0700 | [diff] [blame] | 129 | build-node: 'ubuntu16.04-basebuild-1c-2g' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 130 | - 'omec-comac-in-a-box': |
| 131 | build-node: 'comac_in_a_box' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 132 | |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 133 | # for nucleus |
| 134 | - project: |
| 135 | name: Nucleus |
| 136 | project: '{name}' |
| 137 | |
| 138 | build-node: 'intel-102' |
| 139 | |
| 140 | github-organization: 'omec-project' |
| 141 | |
| 142 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 143 | github_pr_org_list: |
| 144 | - 'omec-project' |
| 145 | |
| 146 | jobs: |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 147 | - 'omec-combined': |
| 148 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
| 149 | mme-repo: 'Nucleus' |
| 150 | - 'omec-install': |
| 151 | sub-project: '{name}' |
| 152 | branch: 'master' |
| 153 | pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 154 | - 'omec-fossa': |
| 155 | pipeline-file: 'omec-fossa-scan.groovy' |
| 156 | build-node: 'omec-qa' |
| 157 | - 'omec-reuse': |
| 158 | pipeline-file: 'omec-reuse-scan.groovy' |
| 159 | build-node: 'omec-qa' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 160 | - 'omec-comac-in-a-box': |
| 161 | build-node: 'comac_in_a_box' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 162 | |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 163 | # for freediameter |
| 164 | - project: |
| 165 | name: freediameter |
| 166 | project: '{name}' |
| 167 | |
| 168 | build-node: 'intel-102' |
| 169 | |
| 170 | github-organization: 'omec-project' |
| 171 | |
| 172 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 173 | github_pr_org_list: |
| 174 | - 'omec-project' |
| 175 | |
| 176 | jobs: |
| 177 | - 'omec-fossa': |
| 178 | pipeline-file: 'omec-fossa-scan.groovy' |
| 179 | build-node: 'omec-qa' |
| 180 | - 'omec-reuse': |
| 181 | pipeline-file: 'omec-reuse-scan.groovy' |
| 182 | build-node: 'omec-qa' |
| 183 | |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 184 | # for ignite |
| 185 | - project: |
| 186 | name: ignite |
| 187 | project: '{name}' |
| 188 | |
| 189 | build-node: 'intel-102' |
| 190 | |
| 191 | github-organization: 'omec-project' |
| 192 | |
| 193 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 194 | github_pr_org_list: |
| 195 | - 'omec-project' |
| 196 | |
| 197 | jobs: |
| 198 | - 'omec-fossa': |
| 199 | pipeline-file: 'omec-fossa-scan.groovy' |
| 200 | build-node: 'omec-qa' |
| 201 | - 'omec-reuse': |
| 202 | pipeline-file: 'omec-reuse-scan.groovy' |
| 203 | build-node: 'omec-qa' |
| 204 | |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 205 | # for upf-epc |
| 206 | - project: |
| 207 | name: upf-epc |
| 208 | project: '{name}' |
| 209 | |
| 210 | github-organization: 'omec-project' |
| 211 | |
| 212 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 213 | github_pr_org_list: |
| 214 | - 'omec-project' |
| 215 | |
| 216 | jobs: |
| 217 | - 'omec-fossa': |
| 218 | pipeline-file: 'omec-fossa-scan.groovy' |
| 219 | build-node: 'omec-qa' |
| 220 | - 'omec-reuse': |
| 221 | pipeline-file: 'omec-reuse-scan.groovy' |
| 222 | build-node: 'omec-qa' |
| 223 | - 'docker-publish-github': |
| 224 | build-timeout: 30 |
| 225 | docker-repo: 'omecproject' |
You Wang | ed3a4c5 | 2020-04-04 15:44:29 -0700 | [diff] [blame] | 226 | build-node: 'ubuntu16.04-basebuild-2c-4g' |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 227 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 228 | # Combined pipeline |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 229 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 230 | id: 'omec-combined' |
| 231 | name: 'omec_{project}_combined' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 232 | project-type: pipeline |
| 233 | |
| 234 | description: | |
| 235 | <!-- Managed by Jenkins Job Builder --> |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 236 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 237 | |
| 238 | properties: |
| 239 | - cord-infra-properties: |
| 240 | build-days-to-keep: '{build-days-to-keep}' |
| 241 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 242 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 243 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 244 | - build-blocker: |
| 245 | use-build-blocker: true |
| 246 | blocking-jobs: |
Zack Williams | 6af01fe | 2019-03-15 11:08:53 -0700 | [diff] [blame] | 247 | - "omec_.*_combined" |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 248 | |
| 249 | wrappers: |
| 250 | - lf-infra-wrappers: |
| 251 | build-timeout: '{build-timeout}' |
| 252 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 253 | |
| 254 | parameters: |
| 255 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 256 | name: buildNode |
| 257 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 258 | description: 'Name of the Jenkins executor node to run the job on' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 259 | |
| 260 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 261 | name: project |
| 262 | default: '{project}' |
| 263 | description: 'Name of the project' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 264 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 265 | - string: |
| 266 | name: mmeRepo |
| 267 | default: '{mme-repo}' |
| 268 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 269 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 270 | triggers: |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 271 | - cord-infra-github-pr-trigger: |
| 272 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 273 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 274 | status_context: 'CORD Jenkins - Combined Steps Verification' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 275 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 276 | concurrent: false |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 277 | |
| 278 | pipeline-scm: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 279 | script-path: '{pipeline-file}' |
| 280 | scm: |
| 281 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 282 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 283 | branches: |
| 284 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 285 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 286 | # install jobs, run for each project |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 287 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 288 | id: 'omec-install' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 289 | name: 'omec_{sub-project}_install' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 290 | project-type: pipeline |
| 291 | |
| 292 | description: | |
| 293 | <!-- Managed by Jenkins Job Builder --> |
| 294 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 295 | |
| 296 | properties: |
| 297 | - cord-infra-properties: |
| 298 | build-days-to-keep: '{build-days-to-keep}' |
| 299 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 300 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 301 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 302 | |
| 303 | wrappers: |
| 304 | - lf-infra-wrappers: |
| 305 | build-timeout: '{build-timeout}' |
| 306 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 307 | |
| 308 | parameters: |
| 309 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 310 | name: buildNode |
| 311 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 312 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 313 | |
| 314 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 315 | name: project |
| 316 | default: '{project}' |
| 317 | description: 'Name of the project' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 318 | |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 319 | - string: |
| 320 | name: branch |
| 321 | default: '{branch}' |
| 322 | description: 'Branch of the project' |
| 323 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 324 | concurrent: false |
| 325 | |
| 326 | pipeline-scm: |
| 327 | script-path: '{pipeline-file}' |
| 328 | scm: |
| 329 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 330 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 331 | branches: |
| 332 | - 'master' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 333 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 334 | # FOSSA License Scan |
| 335 | - job-template: |
| 336 | id: 'omec-fossa' |
| 337 | name: 'omec_{project}_fossa' |
| 338 | project-type: pipeline |
| 339 | |
| 340 | description: | |
| 341 | <!-- Managed by Jenkins Job Builder --> |
| 342 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 343 | |
| 344 | properties: |
| 345 | - cord-infra-properties: |
| 346 | build-days-to-keep: '{build-days-to-keep}' |
| 347 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 348 | - github: |
| 349 | url: 'https://github.com/{github-organization}/{project}' |
| 350 | |
| 351 | wrappers: |
| 352 | - lf-infra-wrappers: |
| 353 | build-timeout: '{build-timeout}' |
| 354 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 355 | |
| 356 | parameters: |
| 357 | - string: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 358 | name: ghprbPullId |
| 359 | default: '$ghprbPullId' |
| 360 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 361 | |
| 362 | - string: |
| 363 | name: branch |
| 364 | default: '$ghprbTargetBranch' |
| 365 | description: 'Branch to run. Only used when manually run.' |
| 366 | |
| 367 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 368 | name: buildNode |
| 369 | default: '{build-node}' |
| 370 | description: 'Name of the Jenkins executor node to run the job on' |
| 371 | |
| 372 | - string: |
| 373 | name: project |
| 374 | default: '{project}' |
| 375 | description: 'Name of the project' |
| 376 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 377 | - string: |
| 378 | name: ghprbGhRepository |
| 379 | default: '{github-organization}/{project}' |
| 380 | description: 'Repository of the project.' |
| 381 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 382 | triggers: |
| 383 | - cord-infra-github-pr-trigger: |
| 384 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 385 | github_pr_auth_id: '{github_pr_auth_id}' |
| 386 | status_context: 'CORD Jenkins - FOSSA Verification' |
| 387 | |
| 388 | concurrent: false |
| 389 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 390 | project-type: pipeline |
| 391 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 392 | |
| 393 | # REUSE License Scan |
| 394 | - job-template: |
| 395 | id: 'omec-reuse' |
| 396 | name: 'omec_{project}_reuse' |
| 397 | project-type: pipeline |
| 398 | |
| 399 | description: | |
| 400 | <!-- Managed by Jenkins Job Builder --> |
| 401 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 402 | |
| 403 | properties: |
| 404 | - cord-infra-properties: |
| 405 | build-days-to-keep: '{build-days-to-keep}' |
| 406 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 407 | - github: |
| 408 | url: 'https://github.com/{github-organization}/{project}' |
| 409 | |
| 410 | wrappers: |
| 411 | - lf-infra-wrappers: |
| 412 | build-timeout: '{build-timeout}' |
| 413 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 414 | |
| 415 | parameters: |
| 416 | - string: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 417 | name: ghprbPullId |
| 418 | default: '$ghprbPullId' |
| 419 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 420 | |
| 421 | - string: |
| 422 | name: branch |
| 423 | default: '$ghprbTargetBranch' |
| 424 | description: 'Branch to run. Only used when manually run.' |
| 425 | |
| 426 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 427 | name: buildNode |
| 428 | default: '{build-node}' |
| 429 | description: 'Name of the Jenkins executor node to run the job on' |
| 430 | |
| 431 | - string: |
| 432 | name: project |
| 433 | default: '{project}' |
| 434 | description: 'Name of the project' |
| 435 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 436 | - string: |
| 437 | name: ghprbGhRepository |
| 438 | default: '{github-organization}/{project}' |
| 439 | description: 'Repository of the project.' |
| 440 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 441 | triggers: |
| 442 | - cord-infra-github-pr-trigger: |
| 443 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 444 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 445 | status_context: 'CORD Jenkins - Licenses Verification' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 446 | |
| 447 | concurrent: false |
| 448 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 449 | project-type: pipeline |
| 450 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 451 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 452 | # tests |
| 453 | - job-template: |
| 454 | id: 'omec-tc1' |
| 455 | name: 'omec_tc1' |
| 456 | project-type: pipeline |
| 457 | |
| 458 | description: | |
| 459 | <!-- Managed by Jenkins Job Builder --> |
| 460 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 461 | |
| 462 | properties: |
| 463 | - cord-infra-properties: |
| 464 | build-days-to-keep: '{build-days-to-keep}' |
| 465 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 466 | |
| 467 | wrappers: |
| 468 | - lf-infra-wrappers: |
| 469 | build-timeout: '{build-timeout}' |
| 470 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 471 | |
| 472 | parameters: |
| 473 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 474 | name: buildNode |
| 475 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 476 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 477 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 478 | - string: |
| 479 | name: mmeRepo |
| 480 | default: 'openmme' |
| 481 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 482 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 483 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 484 | |
| 485 | pipeline-scm: |
| 486 | script-path: 'Jenkinsfile-omec-test-TC1.groovy' |
| 487 | scm: |
| 488 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 489 | url: 'https://github.com/omec-project/omec-project-ci' |
| 490 | branches: |
| 491 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 492 | |
| 493 | - job-template: |
| 494 | id: 'omec-tc2' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 495 | name: 'omec_tc2' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 496 | project-type: pipeline |
| 497 | |
| 498 | description: | |
| 499 | <!-- Managed by Jenkins Job Builder --> |
| 500 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 501 | |
| 502 | properties: |
| 503 | - cord-infra-properties: |
| 504 | build-days-to-keep: '{build-days-to-keep}' |
| 505 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 506 | |
| 507 | wrappers: |
| 508 | - lf-infra-wrappers: |
| 509 | build-timeout: '{build-timeout}' |
| 510 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 511 | |
| 512 | parameters: |
| 513 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 514 | name: buildNode |
| 515 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 516 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 517 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 518 | - string: |
| 519 | name: mmeRepo |
| 520 | default: 'openmme' |
| 521 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 522 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 523 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 524 | |
| 525 | pipeline-scm: |
| 526 | script-path: 'Jenkinsfile-omec-test-TC2.groovy' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 527 | scm: |
| 528 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 529 | url: 'https://github.com/omec-project/omec-project-ci' |
| 530 | branches: |
| 531 | - 'master' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 532 | |
| 533 | # Deploy staging |
| 534 | - job-template: |
| 535 | id: 'omec-deploy-staging' |
| 536 | name: 'omec-deploy-staging' |
| 537 | project-type: pipeline |
| 538 | |
| 539 | description: | |
| 540 | Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br /> |
| 541 | Created from job-template {id} from ci-management/jjb/charts.yaml <br /> |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 542 | Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br /> |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 543 | Copyright (c) 2020 Open Networking Foundation (ONF) |
| 544 | |
| 545 | properties: |
| 546 | - cord-infra-properties: |
| 547 | build-days-to-keep: '{build-days-to-keep}' |
| 548 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 549 | |
| 550 | wrappers: |
| 551 | - lf-infra-wrappers: |
| 552 | build-timeout: '{build-timeout}' |
| 553 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 554 | |
| 555 | parameters: |
| 556 | - string: |
| 557 | name: buildNode |
| 558 | default: 'omec-staging' |
| 559 | description: 'Name of the Jenkins executor node to run the job on.' |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 560 | - bool: |
| 561 | name: useProductionCluster |
| 562 | default: false |
| 563 | description: 'Check this option to use the production cluster instead of the staging cluster. <b>Use with caution.</b>' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 564 | - string: |
| 565 | name: registry |
| 566 | default: 'omecproject' |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 567 | description: 'Registry for all images that will be changed.' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 568 | - string: |
| 569 | name: hssdb_tag |
| 570 | default: '' |
| 571 | description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.' |
| 572 | - string: |
| 573 | name: hss_tag |
| 574 | default: '' |
| 575 | description: 'Tag for hss. Leave hss tag blank to omit changing.' |
| 576 | - string: |
| 577 | name: mme_tag |
| 578 | default: '' |
| 579 | description: 'Tag for mme. Leave mme tag blank to omit changing.' |
| 580 | - string: |
| 581 | name: mmeExporter_tag |
| 582 | default: '' |
| 583 | description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.' |
| 584 | - string: |
| 585 | name: spgwc_tag |
| 586 | default: '' |
| 587 | description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.' |
| 588 | - string: |
| 589 | name: spgwu_tag |
| 590 | default: '' |
| 591 | description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.' |
| 592 | |
| 593 | concurrent: false |
| 594 | |
| 595 | dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 596 | |
| 597 | # Post-merge job |
| 598 | # Triggered by Github pull request merge |
| 599 | - job-template: |
| 600 | id: omec-postmerge |
| 601 | name: '{project}_postmerge' |
| 602 | description: | |
| 603 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml |
| 604 | |
| 605 | properties: |
| 606 | - cord-infra-properties: |
| 607 | build-days-to-keep: '{build-days-to-keep}' |
| 608 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 609 | |
| 610 | triggers: |
| 611 | - cord-infra-github-pr-trigger-merge: |
| 612 | project: '{project}' |
| 613 | |
| 614 | wrappers: |
| 615 | - lf-infra-wrappers: |
| 616 | build-timeout: '{build-timeout}' |
| 617 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 618 | |
| 619 | parameters: |
| 620 | - string: |
| 621 | name: buildNode |
| 622 | default: '{build-node}' |
| 623 | description: 'Name of the Jenkins node to run the job on' |
| 624 | |
| 625 | - string: |
| 626 | name: repoName |
| 627 | default: '' |
| 628 | description: 'Name of the git repo. Populated by Generic Webhook Trigger' |
| 629 | |
| 630 | - string: |
| 631 | name: repoUrl |
| 632 | default: '' |
| 633 | description: 'URL to the git repo. Populated by Generic Webhook Trigger' |
| 634 | |
| 635 | - string: |
| 636 | name: branchName |
| 637 | default: '' |
| 638 | description: 'Branch of the project. Populated by Generic Webhook Trigger' |
| 639 | |
| 640 | - string: |
| 641 | name: commitHash |
| 642 | default: '' |
| 643 | description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger' |
| 644 | |
| 645 | - string: |
| 646 | name: c3poBranchName |
| 647 | default: '{c3po-branch-name}' |
| 648 | description: 'Branch name of c3po repo which we run tests against' |
| 649 | |
| 650 | - string: |
| 651 | name: ngicBranchName |
| 652 | default: '{ngic-branch-name}' |
| 653 | description: 'Branch name of ngic-rtc repo which we run tests against' |
| 654 | |
| 655 | - string: |
| 656 | name: openmmeBranchName |
| 657 | default: '{openmme-branch-name}' |
| 658 | description: 'Branch name of openmme repo which we run tests against' |
| 659 | |
| 660 | - string: |
| 661 | name: maintainers |
| 662 | default: 'jeremyr@opennetworking.org, you@opennetworking.org' |
| 663 | description: "The person that sould be notified if this job fails" |
| 664 | |
| 665 | project-type: pipeline |
| 666 | concurrent: true |
| 667 | |
| 668 | dsl: !include-raw-escape: pipeline/{pipeline-file} |