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