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' |
You Wang | 3111c95 | 2020-06-12 17:53:04 -0700 | [diff] [blame] | 10 | github-organization: 'omec-project' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 11 | |
| 12 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 13 | github_pr_org_list: |
| 14 | - 'omec-project' |
| 15 | |
| 16 | jobs: |
| 17 | - 'omec-tc1' |
| 18 | - 'omec-tc2' |
Jeremy Ronquillo | 6d1e08a | 2020-04-03 11:31:32 -0700 | [diff] [blame] | 19 | - 'omec-deploy-staging' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 20 | - 'omec-deploy': |
| 21 | pod: 'dev' |
| 22 | build-node: 'omec-ci' |
| 23 | cp-context: 'dev-central-gcp' |
| 24 | dp-context: 'dev-edge-onf-menlo' |
| 25 | central-config: 'gcp-dev' |
| 26 | edge-config: 'menlo-dev' |
| 27 | - 'omec-ng40-test': |
| 28 | pod: 'dev' |
| 29 | build-node: 'ng40-host-node' |
| 30 | ng40-vm: 'ng40@192.168.122.101' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 31 | - 'omec-postmerge': |
| 32 | project: '{name}' |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 33 | build-node: 'omec-ci' |
You Wang | b8bfa93 | 2020-05-29 16:22:15 -0700 | [diff] [blame] | 34 | c3po-branch-name: 'master' |
You Wang | b242ae4 | 2020-04-15 12:32:32 -0700 | [diff] [blame] | 35 | ngic-branch-name: 'central-cp-multi-upfs' |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 36 | nucleus-branch-name: 'master' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 37 | pipeline-file: 'omec-postmerge.groovy' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 38 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 39 | # for ngic-rtc |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 40 | - project: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 41 | name: ngic-rtc |
| 42 | project: '{name}' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 43 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 44 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 45 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 46 | github-organization: 'omec-project' |
| 47 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 48 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 49 | github_pr_org_list: |
| 50 | - 'omec-project' |
| 51 | |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 52 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 53 | - 'omec-combined': |
| 54 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 55 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 56 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 57 | sub-project: '{name}' |
You Wang | 4cba361 | 2020-04-29 16:47:10 -0700 | [diff] [blame] | 58 | branch: 'central-cp-multi-upfs' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 59 | pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 60 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 61 | pipeline-file: 'omec-fossa-scan.groovy' |
| 62 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 63 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 64 | pipeline-file: 'omec-reuse-scan.groovy' |
| 65 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 66 | - 'docker-publish-github': |
| 67 | build-timeout: 30 |
| 68 | docker-repo: 'omecproject' |
You Wang | 8512b83 | 2020-03-25 14:47:56 -0700 | [diff] [blame] | 69 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 70 | - 'omec-comac-in-a-box': |
| 71 | build-node: 'comac_in_a_box' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 72 | - 'omec-container' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 73 | |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 74 | # for c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 75 | - project: |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 76 | name: c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 77 | project: '{name}' |
| 78 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 79 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 80 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 81 | github-organization: 'omec-project' |
| 82 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 83 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 84 | github_pr_org_list: |
| 85 | - 'omec-project' |
| 86 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 87 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 88 | - 'omec-combined': |
| 89 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 90 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 91 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 92 | sub-project: 'c3po-sgx' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 93 | branch: 'master' |
Zack Williams | 6202145 | 2019-04-15 13:23:46 -0700 | [diff] [blame] | 94 | pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 95 | - 'omec-install': |
| 96 | sub-project: 'c3po-hss' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 97 | branch: 'master' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 98 | pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 99 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 100 | pipeline-file: 'omec-fossa-scan.groovy' |
| 101 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 102 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 103 | pipeline-file: 'omec-reuse-scan.groovy' |
| 104 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 105 | - 'docker-publish-github': |
| 106 | build-timeout: 30 |
| 107 | docker-repo: 'omecproject' |
You Wang | 715d5fc | 2020-04-30 16:23:35 -0700 | [diff] [blame] | 108 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 109 | - 'omec-comac-in-a-box': |
| 110 | build-node: 'comac_in_a_box' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 111 | - 'omec-container' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 112 | |
| 113 | # for openmme |
| 114 | - project: |
| 115 | name: openmme |
| 116 | project: '{name}' |
| 117 | |
Zack Williams | df7f9d3 | 2019-11-05 07:40:20 -0700 | [diff] [blame] | 118 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 119 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 120 | github-organization: 'omec-project' |
| 121 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 122 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 123 | github_pr_org_list: |
| 124 | - 'omec-project' |
| 125 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 126 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 127 | - 'omec-combined': |
| 128 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 129 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 130 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 131 | sub-project: '{name}' |
You Wang | a1dcf25 | 2020-05-19 17:22:42 -0700 | [diff] [blame] | 132 | branch: 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 133 | pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 134 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 135 | pipeline-file: 'omec-fossa-scan.groovy' |
| 136 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 137 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 138 | pipeline-file: 'omec-reuse-scan.groovy' |
| 139 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 140 | - 'docker-publish-github': |
| 141 | build-timeout: 30 |
| 142 | docker-repo: 'omecproject' |
You Wang | 8512b83 | 2020-03-25 14:47:56 -0700 | [diff] [blame] | 143 | build-node: 'ubuntu16.04-basebuild-1c-2g' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 144 | - 'omec-comac-in-a-box': |
| 145 | build-node: 'comac_in_a_box' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 146 | |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 147 | # for nucleus |
| 148 | - project: |
| 149 | name: Nucleus |
| 150 | project: '{name}' |
| 151 | |
| 152 | build-node: 'intel-102' |
| 153 | |
| 154 | github-organization: 'omec-project' |
| 155 | |
| 156 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 157 | github_pr_org_list: |
| 158 | - 'omec-project' |
| 159 | |
| 160 | jobs: |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 161 | - 'omec-combined': |
| 162 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
| 163 | mme-repo: 'Nucleus' |
| 164 | - 'omec-install': |
| 165 | sub-project: '{name}' |
| 166 | branch: 'master' |
| 167 | pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 168 | - 'omec-fossa': |
| 169 | pipeline-file: 'omec-fossa-scan.groovy' |
| 170 | build-node: 'omec-qa' |
| 171 | - 'omec-reuse': |
| 172 | pipeline-file: 'omec-reuse-scan.groovy' |
| 173 | build-node: 'omec-qa' |
You Wang | f573955 | 2020-06-02 16:36:31 -0700 | [diff] [blame] | 174 | - 'docker-publish-github': |
| 175 | build-timeout: 60 |
| 176 | docker-repo: 'omecproject' |
| 177 | build-node: 'ubuntu16.04-basebuild-1c-2g' |
Jeremy Ronquillo | 659f668 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 178 | - 'omec-comac-in-a-box': |
| 179 | build-node: 'comac_in_a_box' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 180 | - 'omec-container' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 181 | |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 182 | # for freediameter |
| 183 | - project: |
| 184 | name: freediameter |
| 185 | project: '{name}' |
| 186 | |
| 187 | build-node: 'intel-102' |
| 188 | |
| 189 | github-organization: 'omec-project' |
| 190 | |
| 191 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 192 | github_pr_org_list: |
| 193 | - 'omec-project' |
| 194 | |
| 195 | jobs: |
| 196 | - 'omec-fossa': |
| 197 | pipeline-file: 'omec-fossa-scan.groovy' |
| 198 | build-node: 'omec-qa' |
| 199 | - 'omec-reuse': |
| 200 | pipeline-file: 'omec-reuse-scan.groovy' |
| 201 | build-node: 'omec-qa' |
| 202 | |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 203 | # for ignite |
| 204 | - project: |
| 205 | name: ignite |
| 206 | project: '{name}' |
| 207 | |
| 208 | build-node: 'intel-102' |
| 209 | |
| 210 | github-organization: 'omec-project' |
| 211 | |
| 212 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 213 | github_pr_org_list: |
| 214 | - 'omec-project' |
| 215 | |
| 216 | jobs: |
| 217 | - 'omec-fossa': |
| 218 | pipeline-file: 'omec-fossa-scan.groovy' |
| 219 | build-node: 'omec-qa' |
| 220 | - 'omec-reuse': |
| 221 | pipeline-file: 'omec-reuse-scan.groovy' |
| 222 | build-node: 'omec-qa' |
| 223 | |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 224 | # for upf-epc |
| 225 | - project: |
| 226 | name: upf-epc |
| 227 | project: '{name}' |
| 228 | |
| 229 | github-organization: 'omec-project' |
| 230 | |
| 231 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 232 | github_pr_org_list: |
| 233 | - 'omec-project' |
| 234 | |
| 235 | jobs: |
| 236 | - 'omec-fossa': |
| 237 | pipeline-file: 'omec-fossa-scan.groovy' |
| 238 | build-node: 'omec-qa' |
| 239 | - 'omec-reuse': |
| 240 | pipeline-file: 'omec-reuse-scan.groovy' |
| 241 | build-node: 'omec-qa' |
| 242 | - 'docker-publish-github': |
| 243 | build-timeout: 30 |
| 244 | docker-repo: 'omecproject' |
You Wang | ed3a4c5 | 2020-04-04 15:44:29 -0700 | [diff] [blame] | 245 | build-node: 'ubuntu16.04-basebuild-2c-4g' |
You Wang | fe70d41 | 2020-05-27 14:28:36 -0700 | [diff] [blame] | 246 | extraEnvironmentVars: CPU=haswell |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 247 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 248 | # Combined pipeline |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 249 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 250 | id: 'omec-combined' |
| 251 | name: 'omec_{project}_combined' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 252 | project-type: pipeline |
| 253 | |
| 254 | description: | |
| 255 | <!-- Managed by Jenkins Job Builder --> |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 256 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 257 | |
| 258 | properties: |
| 259 | - cord-infra-properties: |
| 260 | build-days-to-keep: '{build-days-to-keep}' |
| 261 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 262 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 263 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 264 | - build-blocker: |
| 265 | use-build-blocker: true |
| 266 | blocking-jobs: |
Zack Williams | 6af01fe | 2019-03-15 11:08:53 -0700 | [diff] [blame] | 267 | - "omec_.*_combined" |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 268 | |
| 269 | wrappers: |
| 270 | - lf-infra-wrappers: |
| 271 | build-timeout: '{build-timeout}' |
| 272 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 273 | |
| 274 | parameters: |
| 275 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 276 | name: buildNode |
| 277 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 278 | description: 'Name of the Jenkins executor node to run the job on' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 279 | |
| 280 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 281 | name: project |
| 282 | default: '{project}' |
| 283 | description: 'Name of the project' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 284 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 285 | - string: |
| 286 | name: mmeRepo |
| 287 | default: '{mme-repo}' |
| 288 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 289 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 290 | triggers: |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 291 | - cord-infra-github-pr-trigger: |
| 292 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 293 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 294 | status_context: 'CORD Jenkins - Combined Steps Verification' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 295 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 296 | concurrent: false |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 297 | |
| 298 | pipeline-scm: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 299 | script-path: '{pipeline-file}' |
| 300 | scm: |
| 301 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 302 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 303 | branches: |
| 304 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 305 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 306 | # install jobs, run for each project |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 307 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 308 | id: 'omec-install' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 309 | name: 'omec_{sub-project}_install' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 310 | project-type: pipeline |
| 311 | |
| 312 | description: | |
| 313 | <!-- Managed by Jenkins Job Builder --> |
| 314 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 315 | |
| 316 | properties: |
| 317 | - cord-infra-properties: |
| 318 | build-days-to-keep: '{build-days-to-keep}' |
| 319 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 320 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 321 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 322 | |
| 323 | wrappers: |
| 324 | - lf-infra-wrappers: |
| 325 | build-timeout: '{build-timeout}' |
| 326 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 327 | |
| 328 | parameters: |
| 329 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 330 | name: buildNode |
| 331 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 332 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 333 | |
| 334 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 335 | name: project |
| 336 | default: '{project}' |
| 337 | description: 'Name of the project' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 338 | |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 339 | - string: |
| 340 | name: branch |
| 341 | default: '{branch}' |
| 342 | description: 'Branch of the project' |
| 343 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 344 | concurrent: false |
| 345 | |
| 346 | pipeline-scm: |
| 347 | script-path: '{pipeline-file}' |
| 348 | scm: |
| 349 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 350 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 351 | branches: |
| 352 | - 'master' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 353 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 354 | # FOSSA License Scan |
| 355 | - job-template: |
| 356 | id: 'omec-fossa' |
| 357 | name: 'omec_{project}_fossa' |
| 358 | project-type: pipeline |
| 359 | |
| 360 | description: | |
| 361 | <!-- Managed by Jenkins Job Builder --> |
| 362 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 363 | |
| 364 | properties: |
| 365 | - cord-infra-properties: |
| 366 | build-days-to-keep: '{build-days-to-keep}' |
| 367 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 368 | - github: |
| 369 | url: 'https://github.com/{github-organization}/{project}' |
| 370 | |
| 371 | wrappers: |
| 372 | - lf-infra-wrappers: |
| 373 | build-timeout: '{build-timeout}' |
| 374 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 375 | |
| 376 | parameters: |
| 377 | - string: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 378 | name: ghprbPullId |
| 379 | default: '$ghprbPullId' |
| 380 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 381 | |
| 382 | - string: |
| 383 | name: branch |
| 384 | default: '$ghprbTargetBranch' |
| 385 | description: 'Branch to run. Only used when manually run.' |
| 386 | |
| 387 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 388 | name: buildNode |
| 389 | default: '{build-node}' |
| 390 | description: 'Name of the Jenkins executor node to run the job on' |
| 391 | |
| 392 | - string: |
| 393 | name: project |
| 394 | default: '{project}' |
| 395 | description: 'Name of the project' |
| 396 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 397 | - string: |
| 398 | name: ghprbGhRepository |
| 399 | default: '{github-organization}/{project}' |
| 400 | description: 'Repository of the project.' |
| 401 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 402 | triggers: |
| 403 | - cord-infra-github-pr-trigger: |
| 404 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 405 | github_pr_auth_id: '{github_pr_auth_id}' |
| 406 | status_context: 'CORD Jenkins - FOSSA Verification' |
| 407 | |
| 408 | concurrent: false |
| 409 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 410 | project-type: pipeline |
| 411 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 412 | |
| 413 | # REUSE License Scan |
| 414 | - job-template: |
| 415 | id: 'omec-reuse' |
| 416 | name: 'omec_{project}_reuse' |
| 417 | project-type: pipeline |
| 418 | |
| 419 | description: | |
| 420 | <!-- Managed by Jenkins Job Builder --> |
| 421 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 422 | |
| 423 | properties: |
| 424 | - cord-infra-properties: |
| 425 | build-days-to-keep: '{build-days-to-keep}' |
| 426 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 427 | - github: |
| 428 | url: 'https://github.com/{github-organization}/{project}' |
| 429 | |
| 430 | wrappers: |
| 431 | - lf-infra-wrappers: |
| 432 | build-timeout: '{build-timeout}' |
| 433 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 434 | |
| 435 | parameters: |
| 436 | - string: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 437 | name: ghprbPullId |
| 438 | default: '$ghprbPullId' |
| 439 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 440 | |
| 441 | - string: |
| 442 | name: branch |
| 443 | default: '$ghprbTargetBranch' |
| 444 | description: 'Branch to run. Only used when manually run.' |
| 445 | |
| 446 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 447 | name: buildNode |
| 448 | default: '{build-node}' |
| 449 | description: 'Name of the Jenkins executor node to run the job on' |
| 450 | |
| 451 | - string: |
| 452 | name: project |
| 453 | default: '{project}' |
| 454 | description: 'Name of the project' |
| 455 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 456 | - string: |
| 457 | name: ghprbGhRepository |
| 458 | default: '{github-organization}/{project}' |
| 459 | description: 'Repository of the project.' |
| 460 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 461 | triggers: |
| 462 | - cord-infra-github-pr-trigger: |
| 463 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 464 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 465 | status_context: 'CORD Jenkins - Licenses Verification' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 466 | |
| 467 | concurrent: false |
| 468 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 469 | project-type: pipeline |
| 470 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 471 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 472 | # tests |
| 473 | - job-template: |
| 474 | id: 'omec-tc1' |
| 475 | name: 'omec_tc1' |
| 476 | project-type: pipeline |
| 477 | |
| 478 | description: | |
| 479 | <!-- Managed by Jenkins Job Builder --> |
| 480 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 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: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 494 | name: buildNode |
| 495 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 496 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 497 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 498 | - string: |
| 499 | name: mmeRepo |
| 500 | default: 'openmme' |
| 501 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 502 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 503 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 504 | |
| 505 | pipeline-scm: |
| 506 | script-path: 'Jenkinsfile-omec-test-TC1.groovy' |
| 507 | scm: |
| 508 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 509 | url: 'https://github.com/omec-project/omec-project-ci' |
| 510 | branches: |
| 511 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 512 | |
| 513 | - job-template: |
| 514 | id: 'omec-tc2' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 515 | name: 'omec_tc2' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 516 | project-type: pipeline |
| 517 | |
| 518 | description: | |
| 519 | <!-- Managed by Jenkins Job Builder --> |
| 520 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 521 | |
| 522 | properties: |
| 523 | - cord-infra-properties: |
| 524 | build-days-to-keep: '{build-days-to-keep}' |
| 525 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 526 | |
| 527 | wrappers: |
| 528 | - lf-infra-wrappers: |
| 529 | build-timeout: '{build-timeout}' |
| 530 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 531 | |
| 532 | parameters: |
| 533 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 534 | name: buildNode |
| 535 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 536 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 537 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 538 | - string: |
| 539 | name: mmeRepo |
| 540 | default: 'openmme' |
| 541 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 542 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 543 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 544 | |
| 545 | pipeline-scm: |
| 546 | script-path: 'Jenkinsfile-omec-test-TC2.groovy' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 547 | scm: |
| 548 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 549 | url: 'https://github.com/omec-project/omec-project-ci' |
| 550 | branches: |
| 551 | - 'master' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 552 | |
| 553 | # Deploy staging |
| 554 | - job-template: |
| 555 | id: 'omec-deploy-staging' |
| 556 | name: 'omec-deploy-staging' |
| 557 | project-type: pipeline |
| 558 | |
| 559 | description: | |
| 560 | Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br /> |
| 561 | Created from job-template {id} from ci-management/jjb/charts.yaml <br /> |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 562 | Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br /> |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 563 | Copyright (c) 2020 Open Networking Foundation (ONF) |
| 564 | |
| 565 | properties: |
| 566 | - cord-infra-properties: |
| 567 | build-days-to-keep: '{build-days-to-keep}' |
| 568 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 569 | |
| 570 | wrappers: |
| 571 | - lf-infra-wrappers: |
| 572 | build-timeout: '{build-timeout}' |
| 573 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 574 | |
| 575 | parameters: |
| 576 | - string: |
| 577 | name: buildNode |
| 578 | default: 'omec-staging' |
| 579 | description: 'Name of the Jenkins executor node to run the job on.' |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 580 | - bool: |
| 581 | name: useProductionCluster |
| 582 | default: false |
| 583 | 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] | 584 | - string: |
| 585 | name: registry |
| 586 | default: 'omecproject' |
Jeremy Ronquillo | 0d731d3 | 2020-04-09 12:20:53 -0700 | [diff] [blame] | 587 | description: 'Registry for all images that will be changed.' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 588 | - string: |
| 589 | name: hssdb_tag |
| 590 | default: '' |
| 591 | description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.' |
| 592 | - string: |
| 593 | name: hss_tag |
| 594 | default: '' |
| 595 | description: 'Tag for hss. Leave hss tag blank to omit changing.' |
| 596 | - string: |
| 597 | name: mme_tag |
| 598 | default: '' |
| 599 | description: 'Tag for mme. Leave mme tag blank to omit changing.' |
| 600 | - string: |
| 601 | name: mmeExporter_tag |
| 602 | default: '' |
| 603 | description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.' |
| 604 | - string: |
| 605 | name: spgwc_tag |
| 606 | default: '' |
| 607 | description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.' |
| 608 | - string: |
| 609 | name: spgwu_tag |
| 610 | default: '' |
| 611 | description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.' |
| 612 | |
| 613 | concurrent: false |
| 614 | |
| 615 | dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 616 | |
| 617 | # Post-merge job |
| 618 | # Triggered by Github pull request merge |
| 619 | - job-template: |
| 620 | id: omec-postmerge |
| 621 | name: '{project}_postmerge' |
| 622 | description: | |
| 623 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml |
| 624 | |
| 625 | properties: |
| 626 | - cord-infra-properties: |
| 627 | build-days-to-keep: '{build-days-to-keep}' |
| 628 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 629 | |
| 630 | triggers: |
| 631 | - cord-infra-github-pr-trigger-merge: |
| 632 | project: '{project}' |
| 633 | |
| 634 | wrappers: |
| 635 | - lf-infra-wrappers: |
| 636 | build-timeout: '{build-timeout}' |
| 637 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 638 | |
| 639 | parameters: |
| 640 | - string: |
| 641 | name: buildNode |
| 642 | default: '{build-node}' |
| 643 | description: 'Name of the Jenkins node to run the job on' |
| 644 | |
| 645 | - string: |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 646 | name: registry |
| 647 | default: 'omecproject' |
| 648 | description: 'Docker registry to push images to' |
| 649 | |
| 650 | - string: |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 651 | name: repoName |
| 652 | default: '' |
| 653 | description: 'Name of the git repo. Populated by Generic Webhook Trigger' |
| 654 | |
| 655 | - string: |
| 656 | name: repoUrl |
| 657 | default: '' |
| 658 | description: 'URL to the git repo. Populated by Generic Webhook Trigger' |
| 659 | |
| 660 | - string: |
| 661 | name: branchName |
| 662 | default: '' |
| 663 | description: 'Branch of the project. Populated by Generic Webhook Trigger' |
| 664 | |
| 665 | - string: |
| 666 | name: commitHash |
| 667 | default: '' |
| 668 | description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger' |
| 669 | |
| 670 | - string: |
| 671 | name: c3poBranchName |
| 672 | default: '{c3po-branch-name}' |
| 673 | description: 'Branch name of c3po repo which we run tests against' |
| 674 | |
| 675 | - string: |
| 676 | name: ngicBranchName |
| 677 | default: '{ngic-branch-name}' |
| 678 | description: 'Branch name of ngic-rtc repo which we run tests against' |
| 679 | |
| 680 | - string: |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 681 | name: nucleusBranchName |
| 682 | default: '{nucleus-branch-name}' |
| 683 | description: 'Branch name of Nucleus repo which we run tests against' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 684 | |
| 685 | - string: |
| 686 | name: maintainers |
| 687 | default: 'jeremyr@opennetworking.org, you@opennetworking.org' |
| 688 | description: "The person that sould be notified if this job fails" |
| 689 | |
| 690 | project-type: pipeline |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 691 | concurrent: false |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 692 | |
| 693 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 694 | |
| 695 | # OMEC CI job which builds docker images, deploys and tests OMEC |
| 696 | - job-template: |
| 697 | id: 'omec-container' |
| 698 | name: 'omec_{project}_container' |
| 699 | project-type: pipeline |
| 700 | |
| 701 | description: | |
| 702 | <!-- Managed by Jenkins Job Builder --> |
| 703 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 704 | |
| 705 | properties: |
| 706 | - cord-infra-properties: |
| 707 | build-days-to-keep: '{build-days-to-keep}' |
| 708 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 709 | - github: |
| 710 | url: 'https://github.com/{github-organization}/{project}' |
| 711 | - build-blocker: |
| 712 | use-build-blocker: true |
| 713 | blocking-jobs: |
| 714 | - "omec_.*_container" |
| 715 | |
| 716 | wrappers: |
| 717 | - lf-infra-wrappers: |
| 718 | build-timeout: '{build-timeout}' |
| 719 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 720 | |
| 721 | parameters: |
| 722 | - string: |
| 723 | name: buildNode |
| 724 | default: 'ng40-host-node' |
| 725 | description: 'Name of the Jenkins executor node to run the job on' |
| 726 | |
| 727 | - string: |
| 728 | name: project |
| 729 | default: '{project}' |
| 730 | description: 'Name of the project' |
| 731 | |
| 732 | - string: |
| 733 | name: ghprbTargetBranch |
| 734 | default: '$ghprbTargetBranch' |
| 735 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 736 | |
| 737 | - string: |
| 738 | name: ghprbPullId |
| 739 | default: '$ghprbPullId' |
| 740 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 741 | |
| 742 | - string: |
| 743 | name: ghprbActualCommit |
| 744 | default: '$ghprbActualCommit' |
| 745 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 746 | |
| 747 | - string: |
| 748 | name: registry |
| 749 | default: 'registry.central.aetherproject.net' |
| 750 | description: 'Docker registry that stores images built for CI testing' |
| 751 | |
| 752 | - string: |
| 753 | name: c3poBranch |
| 754 | default: 'master' |
| 755 | description: 'Branch name of c3po repo which we run tests against' |
| 756 | |
| 757 | - string: |
| 758 | name: nucleusBranch |
| 759 | default: 'master' |
| 760 | description: 'Branch name of Nucleus repo which we run tests against' |
| 761 | |
| 762 | - string: |
| 763 | name: ngicBranch |
| 764 | default: 'central-cp-multi-upfs' |
| 765 | description: 'Branch name of ngic-rtc repo which we run tests against' |
| 766 | |
| 767 | triggers: |
| 768 | - cord-infra-github-pr-trigger: |
| 769 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 770 | github_pr_auth_id: '{github_pr_auth_id}' |
| 771 | status_context: 'CORD Jenkins - Container Based Verification' |
| 772 | |
| 773 | concurrent: false |
| 774 | |
| 775 | pipeline-scm: |
| 776 | script-path: 'Jenkinsfile-omec-container.groovy' |
| 777 | scm: |
| 778 | - git: |
| 779 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 780 | branches: |
| 781 | - 'master' |
| 782 | |
| 783 | # OMEC deployment job |
| 784 | - job-template: |
| 785 | id: 'omec-deploy' |
| 786 | name: 'omec_deploy_{pod}' |
| 787 | project-type: pipeline |
| 788 | |
| 789 | description: | |
| 790 | <!-- Managed by Jenkins Job Builder --> |
| 791 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 792 | |
| 793 | properties: |
| 794 | - cord-infra-properties: |
| 795 | build-days-to-keep: '{build-days-to-keep}' |
| 796 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 797 | |
| 798 | wrappers: |
| 799 | - lf-infra-wrappers: |
| 800 | build-timeout: '{build-timeout}' |
| 801 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 802 | |
| 803 | parameters: |
| 804 | - string: |
| 805 | name: buildNode |
| 806 | default: '{build-node}' |
| 807 | description: 'Name of the Jenkins executor node to run the job on.' |
| 808 | |
| 809 | - string: |
| 810 | name: cpContext |
| 811 | default: '{cp-context}' |
| 812 | description: 'K8S context for omec control plane.' |
| 813 | |
| 814 | - string: |
| 815 | name: dpContext |
| 816 | default: '{dp-context}' |
| 817 | description: 'K8S context for omec data plane.' |
| 818 | |
| 819 | - string: |
| 820 | name: centralConfig |
| 821 | default: '{central-config}' |
| 822 | description: 'Directory name for central yaml files under aether-pod-configs.' |
| 823 | |
| 824 | - string: |
| 825 | name: edgeConfig |
| 826 | default: '{edge-config}' |
| 827 | description: 'Directory name for edge yaml files under aether-pod-configs.' |
| 828 | |
| 829 | - string: |
| 830 | name: hssdbImage |
| 831 | default: 'omecproject/c3po-hssdb:master-latest' |
| 832 | description: 'Docker image for hssdb. Leave empty to use default helm-charts value' |
| 833 | |
| 834 | - string: |
| 835 | name: hssImage |
| 836 | default: 'omecproject/c3po-hss:master-latest' |
| 837 | description: 'Docker image for hss. Leave empty to use default helm-charts value' |
| 838 | |
| 839 | - string: |
| 840 | name: mmeImage |
| 841 | default: 'omecproject/nucleus:master-latest' |
| 842 | description: 'Docker image for mme. Leave empty to use default helm-charts value' |
| 843 | |
| 844 | - string: |
| 845 | name: spgwcImage |
| 846 | default: 'omecproject/ngic-cp:central-cp-multi-upfs-latest' |
| 847 | description: 'Docker image for spgwc. Leave empty to use default helm-charts value' |
| 848 | |
| 849 | - string: |
| 850 | name: spgwuImage |
| 851 | default: 'omecproject/ngic-dp:central-cp-multi-upfs-latest-debug' |
| 852 | description: 'Docker image for spgwu. Leave empty to use default helm-charts value' |
| 853 | |
| 854 | concurrent: false |
| 855 | |
| 856 | pipeline-scm: |
| 857 | script-path: 'Jenkinsfile-omec-deploy.groovy' |
| 858 | scm: |
| 859 | - git: |
| 860 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 861 | branches: |
| 862 | - 'master' |
| 863 | |
| 864 | # OMEC test job |
| 865 | - job-template: |
| 866 | id: 'omec-ng40-test' |
| 867 | name: 'omec_ng40-test_{pod}' |
| 868 | project-type: pipeline |
| 869 | |
| 870 | description: | |
| 871 | <!-- Managed by Jenkins Job Builder --> |
| 872 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 873 | |
| 874 | properties: |
| 875 | - cord-infra-properties: |
| 876 | build-days-to-keep: '{build-days-to-keep}' |
| 877 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 878 | |
| 879 | wrappers: |
| 880 | - lf-infra-wrappers: |
| 881 | build-timeout: '{build-timeout}' |
| 882 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 883 | |
| 884 | parameters: |
| 885 | - string: |
| 886 | name: buildNode |
| 887 | default: '{build-node}' |
| 888 | description: 'Name of the Jenkins executor node to run the job on.' |
| 889 | |
| 890 | - string: |
| 891 | name: ng40VM |
| 892 | default: '{ng40-vm}' |
| 893 | description: 'user@IP for accessing NG40 VM from the build node.' |
| 894 | |
| 895 | - string: |
| 896 | name: ntlFile |
| 897 | default: 'run.ntl' |
| 898 | description: 'NG40 test automation file' |
| 899 | |
| 900 | concurrent: false |
| 901 | |
| 902 | pipeline-scm: |
| 903 | script-path: 'Jenkinsfile-omec-ng40-test.groovy' |
| 904 | scm: |
| 905 | - git: |
| 906 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 907 | branches: |
| 908 | - 'master' |