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