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