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