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