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