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 | 8a09f52 | 2020-04-22 20:14:57 -0700 | [diff] [blame] | 46 | branch: 'master' |
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: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 350 | name: ghprbPullId |
| 351 | default: '$ghprbPullId' |
| 352 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 353 | |
| 354 | - string: |
| 355 | name: branch |
| 356 | default: '$ghprbTargetBranch' |
| 357 | description: 'Branch to run. Only used when manually run.' |
| 358 | |
| 359 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 360 | name: buildNode |
| 361 | default: '{build-node}' |
| 362 | description: 'Name of the Jenkins executor node to run the job on' |
| 363 | |
| 364 | - string: |
| 365 | name: project |
| 366 | default: '{project}' |
| 367 | description: 'Name of the project' |
| 368 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 369 | - string: |
| 370 | name: ghprbGhRepository |
| 371 | default: '{github-organization}/{project}' |
| 372 | description: 'Repository of the project.' |
| 373 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 374 | triggers: |
| 375 | - cord-infra-github-pr-trigger: |
| 376 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 377 | github_pr_auth_id: '{github_pr_auth_id}' |
| 378 | status_context: 'CORD Jenkins - FOSSA Verification' |
| 379 | |
| 380 | concurrent: false |
| 381 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 382 | project-type: pipeline |
| 383 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 384 | |
| 385 | # REUSE License Scan |
| 386 | - job-template: |
| 387 | id: 'omec-reuse' |
| 388 | name: 'omec_{project}_reuse' |
| 389 | project-type: pipeline |
| 390 | |
| 391 | description: | |
| 392 | <!-- Managed by Jenkins Job Builder --> |
| 393 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 394 | |
| 395 | properties: |
| 396 | - cord-infra-properties: |
| 397 | build-days-to-keep: '{build-days-to-keep}' |
| 398 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 399 | - github: |
| 400 | url: 'https://github.com/{github-organization}/{project}' |
| 401 | |
| 402 | wrappers: |
| 403 | - lf-infra-wrappers: |
| 404 | build-timeout: '{build-timeout}' |
| 405 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 406 | |
| 407 | parameters: |
| 408 | - string: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 409 | name: ghprbPullId |
| 410 | default: '$ghprbPullId' |
| 411 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 412 | |
| 413 | - string: |
| 414 | name: branch |
| 415 | default: '$ghprbTargetBranch' |
| 416 | description: 'Branch to run. Only used when manually run.' |
| 417 | |
| 418 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 419 | name: buildNode |
| 420 | default: '{build-node}' |
| 421 | description: 'Name of the Jenkins executor node to run the job on' |
| 422 | |
| 423 | - string: |
| 424 | name: project |
| 425 | default: '{project}' |
| 426 | description: 'Name of the project' |
| 427 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 428 | - string: |
| 429 | name: ghprbGhRepository |
| 430 | default: '{github-organization}/{project}' |
| 431 | description: 'Repository of the project.' |
| 432 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 433 | triggers: |
| 434 | - cord-infra-github-pr-trigger: |
| 435 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 436 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 437 | status_context: 'CORD Jenkins - Licenses Verification' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 438 | |
| 439 | concurrent: false |
| 440 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 441 | project-type: pipeline |
| 442 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 443 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 444 | # tests |
| 445 | - job-template: |
| 446 | id: 'omec-tc1' |
| 447 | name: 'omec_tc1' |
| 448 | project-type: pipeline |
| 449 | |
| 450 | description: | |
| 451 | <!-- Managed by Jenkins Job Builder --> |
| 452 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 453 | |
| 454 | properties: |
| 455 | - cord-infra-properties: |
| 456 | build-days-to-keep: '{build-days-to-keep}' |
| 457 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 458 | |
| 459 | wrappers: |
| 460 | - lf-infra-wrappers: |
| 461 | build-timeout: '{build-timeout}' |
| 462 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 463 | |
| 464 | parameters: |
| 465 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 466 | name: buildNode |
| 467 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 468 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 469 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 470 | - string: |
| 471 | name: mmeRepo |
| 472 | default: 'openmme' |
| 473 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 474 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 475 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 476 | |
| 477 | pipeline-scm: |
| 478 | script-path: 'Jenkinsfile-omec-test-TC1.groovy' |
| 479 | scm: |
| 480 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 481 | url: 'https://github.com/omec-project/omec-project-ci' |
| 482 | branches: |
| 483 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 484 | |
| 485 | - job-template: |
| 486 | id: 'omec-tc2' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 487 | name: 'omec_tc2' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 488 | project-type: pipeline |
| 489 | |
| 490 | description: | |
| 491 | <!-- Managed by Jenkins Job Builder --> |
| 492 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 493 | |
| 494 | properties: |
| 495 | - cord-infra-properties: |
| 496 | build-days-to-keep: '{build-days-to-keep}' |
| 497 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 498 | |
| 499 | wrappers: |
| 500 | - lf-infra-wrappers: |
| 501 | build-timeout: '{build-timeout}' |
| 502 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 503 | |
| 504 | parameters: |
| 505 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 506 | name: buildNode |
| 507 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 508 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 509 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 510 | - string: |
| 511 | name: mmeRepo |
| 512 | default: 'openmme' |
| 513 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 514 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 515 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 516 | |
| 517 | pipeline-scm: |
| 518 | script-path: 'Jenkinsfile-omec-test-TC2.groovy' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 519 | scm: |
| 520 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 521 | url: 'https://github.com/omec-project/omec-project-ci' |
| 522 | branches: |
| 523 | - 'master' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 524 | |
| 525 | # Deploy staging |
| 526 | - job-template: |
| 527 | id: 'omec-deploy-staging' |
| 528 | name: 'omec-deploy-staging' |
| 529 | project-type: pipeline |
| 530 | |
| 531 | description: | |
| 532 | Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br /> |
| 533 | Created from job-template {id} from ci-management/jjb/charts.yaml <br /> |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 534 | Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br /> |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 535 | Copyright (c) 2020 Open Networking Foundation (ONF) |
| 536 | |
| 537 | properties: |
| 538 | - cord-infra-properties: |
| 539 | build-days-to-keep: '{build-days-to-keep}' |
| 540 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 541 | |
| 542 | wrappers: |
| 543 | - lf-infra-wrappers: |
| 544 | build-timeout: '{build-timeout}' |
| 545 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 546 | |
| 547 | parameters: |
| 548 | - string: |
| 549 | name: buildNode |
| 550 | default: 'omec-staging' |
| 551 | description: 'Name of the Jenkins executor node to run the job on.' |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 552 | - bool: |
| 553 | name: useProductionCluster |
| 554 | default: false |
| 555 | 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] | 556 | - string: |
| 557 | name: registry |
| 558 | default: 'omecproject' |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 559 | description: 'Registry for all images that will be changed.' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 560 | - string: |
| 561 | name: hssdb_tag |
| 562 | default: '' |
| 563 | description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.' |
| 564 | - string: |
| 565 | name: hss_tag |
| 566 | default: '' |
| 567 | description: 'Tag for hss. Leave hss tag blank to omit changing.' |
| 568 | - string: |
| 569 | name: mme_tag |
| 570 | default: '' |
| 571 | description: 'Tag for mme. Leave mme tag blank to omit changing.' |
| 572 | - string: |
| 573 | name: mmeExporter_tag |
| 574 | default: '' |
| 575 | description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.' |
| 576 | - string: |
| 577 | name: spgwc_tag |
| 578 | default: '' |
| 579 | description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.' |
| 580 | - string: |
| 581 | name: spgwu_tag |
| 582 | default: '' |
| 583 | description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.' |
| 584 | |
| 585 | concurrent: false |
| 586 | |
| 587 | dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 588 | |
| 589 | # Post-merge job |
| 590 | # Triggered by Github pull request merge |
| 591 | - job-template: |
| 592 | id: omec-postmerge |
| 593 | name: '{project}_postmerge' |
| 594 | description: | |
| 595 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml |
| 596 | |
| 597 | properties: |
| 598 | - cord-infra-properties: |
| 599 | build-days-to-keep: '{build-days-to-keep}' |
| 600 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 601 | |
| 602 | triggers: |
| 603 | - cord-infra-github-pr-trigger-merge: |
| 604 | project: '{project}' |
| 605 | |
| 606 | wrappers: |
| 607 | - lf-infra-wrappers: |
| 608 | build-timeout: '{build-timeout}' |
| 609 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 610 | |
| 611 | parameters: |
| 612 | - string: |
| 613 | name: buildNode |
| 614 | default: '{build-node}' |
| 615 | description: 'Name of the Jenkins node to run the job on' |
| 616 | |
| 617 | - string: |
| 618 | name: repoName |
| 619 | default: '' |
| 620 | description: 'Name of the git repo. Populated by Generic Webhook Trigger' |
| 621 | |
| 622 | - string: |
| 623 | name: repoUrl |
| 624 | default: '' |
| 625 | description: 'URL to the git repo. Populated by Generic Webhook Trigger' |
| 626 | |
| 627 | - string: |
| 628 | name: branchName |
| 629 | default: '' |
| 630 | description: 'Branch of the project. Populated by Generic Webhook Trigger' |
| 631 | |
| 632 | - string: |
| 633 | name: commitHash |
| 634 | default: '' |
| 635 | description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger' |
| 636 | |
| 637 | - string: |
| 638 | name: c3poBranchName |
| 639 | default: '{c3po-branch-name}' |
| 640 | description: 'Branch name of c3po repo which we run tests against' |
| 641 | |
| 642 | - string: |
| 643 | name: ngicBranchName |
| 644 | default: '{ngic-branch-name}' |
| 645 | description: 'Branch name of ngic-rtc repo which we run tests against' |
| 646 | |
| 647 | - string: |
| 648 | name: openmmeBranchName |
| 649 | default: '{openmme-branch-name}' |
| 650 | description: 'Branch name of openmme repo which we run tests against' |
| 651 | |
| 652 | - string: |
| 653 | name: maintainers |
| 654 | default: 'jeremyr@opennetworking.org, you@opennetworking.org' |
| 655 | description: "The person that sould be notified if this job fails" |
| 656 | |
| 657 | project-type: pipeline |
| 658 | concurrent: true |
| 659 | |
| 660 | dsl: !include-raw-escape: pipeline/{pipeline-file} |