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' |
| 204 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 205 | # Combined pipeline |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 206 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 207 | id: 'omec-combined' |
| 208 | name: 'omec_{project}_combined' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 209 | project-type: pipeline |
| 210 | |
| 211 | description: | |
| 212 | <!-- Managed by Jenkins Job Builder --> |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 213 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 214 | |
| 215 | properties: |
| 216 | - cord-infra-properties: |
| 217 | build-days-to-keep: '{build-days-to-keep}' |
| 218 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 219 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 220 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 221 | - build-blocker: |
| 222 | use-build-blocker: true |
| 223 | blocking-jobs: |
Zack Williams | 6af01fe | 2019-03-15 11:08:53 -0700 | [diff] [blame] | 224 | - "omec_.*_combined" |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 225 | |
| 226 | wrappers: |
| 227 | - lf-infra-wrappers: |
| 228 | build-timeout: '{build-timeout}' |
| 229 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 230 | |
| 231 | parameters: |
| 232 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 233 | name: buildNode |
| 234 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 235 | description: 'Name of the Jenkins executor node to run the job on' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 236 | |
| 237 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 238 | name: project |
| 239 | default: '{project}' |
| 240 | description: 'Name of the project' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 241 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 242 | triggers: |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 243 | - cord-infra-github-pr-trigger: |
| 244 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 245 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 246 | status_context: 'CORD Jenkins - Combined Steps Verification' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 247 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 248 | concurrent: false |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 249 | |
| 250 | pipeline-scm: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 251 | script-path: '{pipeline-file}' |
| 252 | scm: |
| 253 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 254 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 255 | branches: |
| 256 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 257 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 258 | # install jobs, run for each project |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 259 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 260 | id: 'omec-install' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 261 | name: 'omec_{sub-project}_install' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 262 | project-type: pipeline |
| 263 | |
| 264 | description: | |
| 265 | <!-- Managed by Jenkins Job Builder --> |
| 266 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 267 | |
| 268 | properties: |
| 269 | - cord-infra-properties: |
| 270 | build-days-to-keep: '{build-days-to-keep}' |
| 271 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 272 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 273 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 274 | |
| 275 | wrappers: |
| 276 | - lf-infra-wrappers: |
| 277 | build-timeout: '{build-timeout}' |
| 278 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 279 | |
| 280 | parameters: |
| 281 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 282 | name: buildNode |
| 283 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 284 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 285 | |
| 286 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 287 | name: project |
| 288 | default: '{project}' |
| 289 | description: 'Name of the project' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 290 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 291 | concurrent: false |
| 292 | |
| 293 | pipeline-scm: |
| 294 | script-path: '{pipeline-file}' |
| 295 | scm: |
| 296 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 297 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 298 | branches: |
| 299 | - 'master' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 300 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 301 | # FOSSA License Scan |
| 302 | - job-template: |
| 303 | id: 'omec-fossa' |
| 304 | name: 'omec_{project}_fossa' |
| 305 | project-type: pipeline |
| 306 | |
| 307 | description: | |
| 308 | <!-- Managed by Jenkins Job Builder --> |
| 309 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 310 | |
| 311 | properties: |
| 312 | - cord-infra-properties: |
| 313 | build-days-to-keep: '{build-days-to-keep}' |
| 314 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 315 | - github: |
| 316 | url: 'https://github.com/{github-organization}/{project}' |
| 317 | |
| 318 | wrappers: |
| 319 | - lf-infra-wrappers: |
| 320 | build-timeout: '{build-timeout}' |
| 321 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 322 | |
| 323 | parameters: |
| 324 | - string: |
| 325 | name: buildNode |
| 326 | default: '{build-node}' |
| 327 | description: 'Name of the Jenkins executor node to run the job on' |
| 328 | |
| 329 | - string: |
| 330 | name: project |
| 331 | default: '{project}' |
| 332 | description: 'Name of the project' |
| 333 | |
| 334 | triggers: |
| 335 | - cord-infra-github-pr-trigger: |
| 336 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 337 | github_pr_auth_id: '{github_pr_auth_id}' |
| 338 | status_context: 'CORD Jenkins - FOSSA Verification' |
| 339 | |
| 340 | concurrent: false |
| 341 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 342 | project-type: pipeline |
| 343 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 344 | |
| 345 | # REUSE License Scan |
| 346 | - job-template: |
| 347 | id: 'omec-reuse' |
| 348 | name: 'omec_{project}_reuse' |
| 349 | project-type: pipeline |
| 350 | |
| 351 | description: | |
| 352 | <!-- Managed by Jenkins Job Builder --> |
| 353 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 354 | |
| 355 | properties: |
| 356 | - cord-infra-properties: |
| 357 | build-days-to-keep: '{build-days-to-keep}' |
| 358 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 359 | - github: |
| 360 | url: 'https://github.com/{github-organization}/{project}' |
| 361 | |
| 362 | wrappers: |
| 363 | - lf-infra-wrappers: |
| 364 | build-timeout: '{build-timeout}' |
| 365 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 366 | |
| 367 | parameters: |
| 368 | - string: |
| 369 | name: buildNode |
| 370 | default: '{build-node}' |
| 371 | description: 'Name of the Jenkins executor node to run the job on' |
| 372 | |
| 373 | - string: |
| 374 | name: project |
| 375 | default: '{project}' |
| 376 | description: 'Name of the project' |
| 377 | |
| 378 | triggers: |
| 379 | - cord-infra-github-pr-trigger: |
| 380 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 381 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 382 | status_context: 'CORD Jenkins - Licenses Verification' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 383 | |
| 384 | concurrent: false |
| 385 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 386 | project-type: pipeline |
| 387 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 388 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 389 | # tests |
| 390 | - job-template: |
| 391 | id: 'omec-tc1' |
| 392 | name: 'omec_tc1' |
| 393 | project-type: pipeline |
| 394 | |
| 395 | description: | |
| 396 | <!-- Managed by Jenkins Job Builder --> |
| 397 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 398 | |
| 399 | properties: |
| 400 | - cord-infra-properties: |
| 401 | build-days-to-keep: '{build-days-to-keep}' |
| 402 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 403 | |
| 404 | wrappers: |
| 405 | - lf-infra-wrappers: |
| 406 | build-timeout: '{build-timeout}' |
| 407 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 408 | |
| 409 | parameters: |
| 410 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 411 | name: buildNode |
| 412 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 413 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 414 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 415 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 416 | |
| 417 | pipeline-scm: |
| 418 | script-path: 'Jenkinsfile-omec-test-TC1.groovy' |
| 419 | scm: |
| 420 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 421 | url: 'https://github.com/omec-project/omec-project-ci' |
| 422 | branches: |
| 423 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 424 | |
| 425 | - job-template: |
| 426 | id: 'omec-tc2' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 427 | name: 'omec_tc2' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 428 | project-type: pipeline |
| 429 | |
| 430 | description: | |
| 431 | <!-- Managed by Jenkins Job Builder --> |
| 432 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 433 | |
| 434 | properties: |
| 435 | - cord-infra-properties: |
| 436 | build-days-to-keep: '{build-days-to-keep}' |
| 437 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 438 | |
| 439 | wrappers: |
| 440 | - lf-infra-wrappers: |
| 441 | build-timeout: '{build-timeout}' |
| 442 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 443 | |
| 444 | parameters: |
| 445 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 446 | name: buildNode |
| 447 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 448 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 449 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 450 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 451 | |
| 452 | pipeline-scm: |
| 453 | script-path: 'Jenkinsfile-omec-test-TC2.groovy' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 454 | scm: |
| 455 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 456 | url: 'https://github.com/omec-project/omec-project-ci' |
| 457 | branches: |
| 458 | - 'master' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 459 | |
| 460 | # Deploy staging |
| 461 | - job-template: |
| 462 | id: 'omec-deploy-staging' |
| 463 | name: 'omec-deploy-staging' |
| 464 | project-type: pipeline |
| 465 | |
| 466 | description: | |
| 467 | Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br /> |
| 468 | Created from job-template {id} from ci-management/jjb/charts.yaml <br /> |
| 469 | Created by Jeremy Ronquillo, jeremyr@opennetworking.org <br /> |
| 470 | Copyright (c) 2020 Open Networking Foundation (ONF) |
| 471 | |
| 472 | properties: |
| 473 | - cord-infra-properties: |
| 474 | build-days-to-keep: '{build-days-to-keep}' |
| 475 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 476 | |
| 477 | wrappers: |
| 478 | - lf-infra-wrappers: |
| 479 | build-timeout: '{build-timeout}' |
| 480 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 481 | |
| 482 | parameters: |
| 483 | - string: |
| 484 | name: buildNode |
| 485 | default: 'omec-staging' |
| 486 | description: 'Name of the Jenkins executor node to run the job on.' |
| 487 | - string: |
| 488 | name: registry |
| 489 | default: 'omecproject' |
| 490 | description: 'Registry for all images.' |
| 491 | - string: |
| 492 | name: hssdb_tag |
| 493 | default: '' |
| 494 | description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.' |
| 495 | - string: |
| 496 | name: hss_tag |
| 497 | default: '' |
| 498 | description: 'Tag for hss. Leave hss tag blank to omit changing.' |
| 499 | - string: |
| 500 | name: mme_tag |
| 501 | default: '' |
| 502 | description: 'Tag for mme. Leave mme tag blank to omit changing.' |
| 503 | - string: |
| 504 | name: mmeExporter_tag |
| 505 | default: '' |
| 506 | description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.' |
| 507 | - string: |
| 508 | name: spgwc_tag |
| 509 | default: '' |
| 510 | description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.' |
| 511 | - string: |
| 512 | name: spgwu_tag |
| 513 | default: '' |
| 514 | description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.' |
| 515 | |
| 516 | concurrent: false |
| 517 | |
| 518 | dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 519 | |
| 520 | # Post-merge job |
| 521 | # Triggered by Github pull request merge |
| 522 | - job-template: |
| 523 | id: omec-postmerge |
| 524 | name: '{project}_postmerge' |
| 525 | description: | |
| 526 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml |
| 527 | |
| 528 | properties: |
| 529 | - cord-infra-properties: |
| 530 | build-days-to-keep: '{build-days-to-keep}' |
| 531 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 532 | |
| 533 | triggers: |
| 534 | - cord-infra-github-pr-trigger-merge: |
| 535 | project: '{project}' |
| 536 | |
| 537 | wrappers: |
| 538 | - lf-infra-wrappers: |
| 539 | build-timeout: '{build-timeout}' |
| 540 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 541 | |
| 542 | parameters: |
| 543 | - string: |
| 544 | name: buildNode |
| 545 | default: '{build-node}' |
| 546 | description: 'Name of the Jenkins node to run the job on' |
| 547 | |
| 548 | - string: |
| 549 | name: repoName |
| 550 | default: '' |
| 551 | description: 'Name of the git repo. Populated by Generic Webhook Trigger' |
| 552 | |
| 553 | - string: |
| 554 | name: repoUrl |
| 555 | default: '' |
| 556 | description: 'URL to the git repo. Populated by Generic Webhook Trigger' |
| 557 | |
| 558 | - string: |
| 559 | name: branchName |
| 560 | default: '' |
| 561 | description: 'Branch of the project. Populated by Generic Webhook Trigger' |
| 562 | |
| 563 | - string: |
| 564 | name: commitHash |
| 565 | default: '' |
| 566 | description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger' |
| 567 | |
| 568 | - string: |
| 569 | name: c3poBranchName |
| 570 | default: '{c3po-branch-name}' |
| 571 | description: 'Branch name of c3po repo which we run tests against' |
| 572 | |
| 573 | - string: |
| 574 | name: ngicBranchName |
| 575 | default: '{ngic-branch-name}' |
| 576 | description: 'Branch name of ngic-rtc repo which we run tests against' |
| 577 | |
| 578 | - string: |
| 579 | name: openmmeBranchName |
| 580 | default: '{openmme-branch-name}' |
| 581 | description: 'Branch name of openmme repo which we run tests against' |
| 582 | |
| 583 | - string: |
| 584 | name: maintainers |
| 585 | default: 'jeremyr@opennetworking.org, you@opennetworking.org' |
| 586 | description: "The person that sould be notified if this job fails" |
| 587 | |
| 588 | project-type: pipeline |
| 589 | concurrent: true |
| 590 | |
| 591 | dsl: !include-raw-escape: pipeline/{pipeline-file} |