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 | add5817 | 2020-06-23 20:09:28 -0700 | [diff] [blame] | 30 | cp-context: 'dev-central-gcp' |
| 31 | dp-context: 'dev-edge-onf-menlo' |
You Wang | c8955b1 | 2020-06-19 14:22:12 -0700 | [diff] [blame] | 32 | - 'omec-archive-artifacts': |
| 33 | pod: 'dev' |
| 34 | build-node: 'omec-ci' |
| 35 | cp-context: 'dev-central-gcp' |
| 36 | dp-context: 'dev-edge-onf-menlo' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 37 | - 'omec-postmerge': |
| 38 | project: '{name}' |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 39 | build-node: 'omec-ci' |
You Wang | b8bfa93 | 2020-05-29 16:22:15 -0700 | [diff] [blame] | 40 | c3po-branch-name: 'master' |
You Wang | b242ae4 | 2020-04-15 12:32:32 -0700 | [diff] [blame] | 41 | ngic-branch-name: 'central-cp-multi-upfs' |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 42 | nucleus-branch-name: 'master' |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 43 | upf-branch-name: 'master' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 44 | pipeline-file: 'omec-postmerge.groovy' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 45 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 46 | # for ngic-rtc |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 47 | - project: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 48 | name: ngic-rtc |
| 49 | project: '{name}' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 50 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 51 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 52 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 53 | github-organization: 'omec-project' |
| 54 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 55 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 56 | github_pr_org_list: |
| 57 | - 'omec-project' |
| 58 | |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 59 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 60 | - 'omec-combined': |
| 61 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 81cc00c | 2020-06-15 15:32:53 -0700 | [diff] [blame] | 62 | mme-repo: 'Nucleus' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 63 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 64 | sub-project: '{name}' |
You Wang | 4cba361 | 2020-04-29 16:47:10 -0700 | [diff] [blame] | 65 | branch: 'central-cp-multi-upfs' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 66 | pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 67 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 68 | pipeline-file: 'omec-fossa-scan.groovy' |
| 69 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 70 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 71 | pipeline-file: 'omec-reuse-scan.groovy' |
| 72 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 73 | - 'docker-publish-github': |
| 74 | build-timeout: 30 |
| 75 | docker-repo: 'omecproject' |
You Wang | 8512b83 | 2020-03-25 14:47:56 -0700 | [diff] [blame] | 76 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 77 | - 'omec-container' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 78 | |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 79 | # for c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 80 | - project: |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 81 | name: c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 82 | project: '{name}' |
| 83 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 84 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 85 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 86 | github-organization: 'omec-project' |
| 87 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 88 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 89 | github_pr_org_list: |
| 90 | - 'omec-project' |
| 91 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 92 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 93 | - 'omec-combined': |
| 94 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 81cc00c | 2020-06-15 15:32:53 -0700 | [diff] [blame] | 95 | mme-repo: 'Nucleus' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 96 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 97 | sub-project: 'c3po-sgx' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 98 | branch: 'master' |
Zack Williams | 6202145 | 2019-04-15 13:23:46 -0700 | [diff] [blame] | 99 | pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 100 | - 'omec-install': |
| 101 | sub-project: 'c3po-hss' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 102 | branch: 'master' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 103 | pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 104 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 105 | pipeline-file: 'omec-fossa-scan.groovy' |
| 106 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 107 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 108 | pipeline-file: 'omec-reuse-scan.groovy' |
| 109 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 110 | - 'docker-publish-github': |
| 111 | build-timeout: 30 |
| 112 | docker-repo: 'omecproject' |
You Wang | 715d5fc | 2020-04-30 16:23:35 -0700 | [diff] [blame] | 113 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 114 | - 'omec-container' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 115 | |
| 116 | # for openmme |
| 117 | - project: |
| 118 | name: openmme |
| 119 | project: '{name}' |
| 120 | |
Zack Williams | df7f9d3 | 2019-11-05 07:40:20 -0700 | [diff] [blame] | 121 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 122 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 123 | github-organization: 'omec-project' |
| 124 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 125 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 126 | github_pr_org_list: |
| 127 | - 'omec-project' |
| 128 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 129 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 130 | - 'omec-combined': |
| 131 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 132 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 133 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 134 | sub-project: '{name}' |
You Wang | a1dcf25 | 2020-05-19 17:22:42 -0700 | [diff] [blame] | 135 | branch: 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 136 | pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 137 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 138 | pipeline-file: 'omec-fossa-scan.groovy' |
| 139 | build-node: 'omec-qa' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 140 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 141 | pipeline-file: 'omec-reuse-scan.groovy' |
| 142 | build-node: 'omec-qa' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 143 | - 'docker-publish-github': |
| 144 | build-timeout: 30 |
| 145 | docker-repo: 'omecproject' |
You Wang | 8512b83 | 2020-03-25 14:47:56 -0700 | [diff] [blame] | 146 | build-node: 'ubuntu16.04-basebuild-1c-2g' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 147 | |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 148 | # for nucleus |
| 149 | - project: |
| 150 | name: Nucleus |
| 151 | project: '{name}' |
| 152 | |
| 153 | build-node: 'intel-102' |
| 154 | |
| 155 | github-organization: 'omec-project' |
| 156 | |
| 157 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 158 | github_pr_org_list: |
| 159 | - 'omec-project' |
| 160 | |
| 161 | jobs: |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 162 | - 'omec-combined': |
| 163 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
| 164 | mme-repo: 'Nucleus' |
| 165 | - 'omec-install': |
| 166 | sub-project: '{name}' |
| 167 | branch: 'master' |
| 168 | pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 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' |
You Wang | f573955 | 2020-06-02 16:36:31 -0700 | [diff] [blame] | 175 | - 'docker-publish-github': |
| 176 | build-timeout: 60 |
| 177 | docker-repo: 'omecproject' |
| 178 | build-node: 'ubuntu16.04-basebuild-1c-2g' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 179 | - 'omec-container' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 180 | |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 181 | # for freediameter |
| 182 | - project: |
| 183 | name: freediameter |
| 184 | project: '{name}' |
| 185 | |
| 186 | build-node: 'intel-102' |
| 187 | |
| 188 | github-organization: 'omec-project' |
| 189 | |
| 190 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 191 | github_pr_org_list: |
| 192 | - 'omec-project' |
| 193 | |
| 194 | jobs: |
| 195 | - 'omec-fossa': |
| 196 | pipeline-file: 'omec-fossa-scan.groovy' |
| 197 | build-node: 'omec-qa' |
| 198 | - 'omec-reuse': |
| 199 | pipeline-file: 'omec-reuse-scan.groovy' |
| 200 | build-node: 'omec-qa' |
| 201 | |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 202 | # for ignite |
| 203 | - project: |
| 204 | name: ignite |
| 205 | project: '{name}' |
| 206 | |
| 207 | build-node: 'intel-102' |
| 208 | |
| 209 | github-organization: 'omec-project' |
| 210 | |
| 211 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 212 | github_pr_org_list: |
| 213 | - 'omec-project' |
| 214 | |
| 215 | jobs: |
| 216 | - 'omec-fossa': |
| 217 | pipeline-file: 'omec-fossa-scan.groovy' |
| 218 | build-node: 'omec-qa' |
| 219 | - 'omec-reuse': |
| 220 | pipeline-file: 'omec-reuse-scan.groovy' |
| 221 | build-node: 'omec-qa' |
| 222 | |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 223 | # for upf-epc |
| 224 | - project: |
| 225 | name: upf-epc |
| 226 | project: '{name}' |
| 227 | |
| 228 | github-organization: 'omec-project' |
| 229 | |
| 230 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 231 | github_pr_org_list: |
| 232 | - 'omec-project' |
| 233 | |
| 234 | jobs: |
| 235 | - 'omec-fossa': |
| 236 | pipeline-file: 'omec-fossa-scan.groovy' |
| 237 | build-node: 'omec-qa' |
| 238 | - 'omec-reuse': |
| 239 | pipeline-file: 'omec-reuse-scan.groovy' |
| 240 | build-node: 'omec-qa' |
| 241 | - 'docker-publish-github': |
| 242 | build-timeout: 30 |
| 243 | docker-repo: 'omecproject' |
You Wang | ed3a4c5 | 2020-04-04 15:44:29 -0700 | [diff] [blame] | 244 | build-node: 'ubuntu16.04-basebuild-2c-4g' |
You Wang | fe70d41 | 2020-05-27 14:28:36 -0700 | [diff] [blame] | 245 | extraEnvironmentVars: CPU=haswell |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 246 | - 'omec-container' |
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 | |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 553 | # Post-merge job |
| 554 | # Triggered by Github pull request merge |
| 555 | - job-template: |
| 556 | id: omec-postmerge |
| 557 | name: '{project}_postmerge' |
| 558 | description: | |
| 559 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml |
| 560 | |
| 561 | properties: |
| 562 | - cord-infra-properties: |
| 563 | build-days-to-keep: '{build-days-to-keep}' |
| 564 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 565 | |
| 566 | triggers: |
| 567 | - cord-infra-github-pr-trigger-merge: |
| 568 | project: '{project}' |
| 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: '{build-node}' |
| 579 | description: 'Name of the Jenkins node to run the job on' |
| 580 | |
| 581 | - string: |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 582 | name: registry |
| 583 | default: 'omecproject' |
| 584 | description: 'Docker registry to push images to' |
| 585 | |
| 586 | - string: |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 587 | name: repoName |
| 588 | default: '' |
| 589 | description: 'Name of the git repo. Populated by Generic Webhook Trigger' |
| 590 | |
| 591 | - string: |
| 592 | name: repoUrl |
| 593 | default: '' |
| 594 | description: 'URL to the git repo. Populated by Generic Webhook Trigger' |
| 595 | |
| 596 | - string: |
| 597 | name: branchName |
| 598 | default: '' |
| 599 | description: 'Branch of the project. Populated by Generic Webhook Trigger' |
| 600 | |
| 601 | - string: |
| 602 | name: commitHash |
| 603 | default: '' |
| 604 | description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger' |
| 605 | |
| 606 | - string: |
| 607 | name: c3poBranchName |
| 608 | default: '{c3po-branch-name}' |
| 609 | description: 'Branch name of c3po repo which we run tests against' |
| 610 | |
| 611 | - string: |
| 612 | name: ngicBranchName |
| 613 | default: '{ngic-branch-name}' |
| 614 | description: 'Branch name of ngic-rtc repo which we run tests against' |
| 615 | |
| 616 | - string: |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 617 | name: nucleusBranchName |
| 618 | default: '{nucleus-branch-name}' |
| 619 | description: 'Branch name of Nucleus repo which we run tests against' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 620 | |
| 621 | - string: |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 622 | name: upfBranchName |
| 623 | default: '{upf-branch-name}' |
| 624 | description: 'Branch name of upf-epc repo which we run tests against' |
| 625 | |
| 626 | - string: |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 627 | name: maintainers |
| 628 | default: 'jeremyr@opennetworking.org, you@opennetworking.org' |
| 629 | description: "The person that sould be notified if this job fails" |
| 630 | |
| 631 | project-type: pipeline |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 632 | concurrent: false |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 633 | |
| 634 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 635 | |
| 636 | # OMEC CI job which builds docker images, deploys and tests OMEC |
| 637 | - job-template: |
| 638 | id: 'omec-container' |
| 639 | name: 'omec_{project}_container' |
| 640 | project-type: pipeline |
| 641 | |
| 642 | description: | |
| 643 | <!-- Managed by Jenkins Job Builder --> |
| 644 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 645 | |
| 646 | properties: |
| 647 | - cord-infra-properties: |
| 648 | build-days-to-keep: '{build-days-to-keep}' |
| 649 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 650 | - github: |
| 651 | url: 'https://github.com/{github-organization}/{project}' |
| 652 | - build-blocker: |
| 653 | use-build-blocker: true |
| 654 | blocking-jobs: |
| 655 | - "omec_.*_container" |
| 656 | |
| 657 | wrappers: |
| 658 | - lf-infra-wrappers: |
| 659 | build-timeout: '{build-timeout}' |
| 660 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 661 | |
| 662 | parameters: |
| 663 | - string: |
| 664 | name: buildNode |
| 665 | default: 'ng40-host-node' |
| 666 | description: 'Name of the Jenkins executor node to run the job on' |
| 667 | |
| 668 | - string: |
| 669 | name: project |
| 670 | default: '{project}' |
| 671 | description: 'Name of the project' |
| 672 | |
| 673 | - string: |
| 674 | name: ghprbTargetBranch |
| 675 | default: '$ghprbTargetBranch' |
| 676 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 677 | |
| 678 | - string: |
| 679 | name: ghprbPullId |
| 680 | default: '$ghprbPullId' |
| 681 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 682 | |
| 683 | - string: |
| 684 | name: ghprbActualCommit |
| 685 | default: '$ghprbActualCommit' |
| 686 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 687 | |
| 688 | - string: |
| 689 | name: registry |
| 690 | default: 'registry.central.aetherproject.net' |
| 691 | description: 'Docker registry that stores images built for CI testing' |
| 692 | |
| 693 | - string: |
| 694 | name: c3poBranch |
| 695 | default: 'master' |
| 696 | description: 'Branch name of c3po repo which we run tests against' |
| 697 | |
| 698 | - string: |
| 699 | name: nucleusBranch |
| 700 | default: 'master' |
| 701 | description: 'Branch name of Nucleus repo which we run tests against' |
| 702 | |
| 703 | - string: |
| 704 | name: ngicBranch |
| 705 | default: 'central-cp-multi-upfs' |
| 706 | description: 'Branch name of ngic-rtc repo which we run tests against' |
| 707 | |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 708 | - string: |
| 709 | name: upfBranch |
| 710 | default: 'master' |
| 711 | description: 'Branch name of upf-epc repo which we run tests against' |
| 712 | |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 713 | triggers: |
| 714 | - cord-infra-github-pr-trigger: |
| 715 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 716 | github_pr_auth_id: '{github_pr_auth_id}' |
| 717 | status_context: 'CORD Jenkins - Container Based Verification' |
| 718 | |
| 719 | concurrent: false |
| 720 | |
| 721 | pipeline-scm: |
| 722 | script-path: 'Jenkinsfile-omec-container.groovy' |
| 723 | scm: |
| 724 | - git: |
| 725 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 726 | branches: |
| 727 | - 'master' |
| 728 | |
| 729 | # OMEC deployment job |
| 730 | - job-template: |
| 731 | id: 'omec-deploy' |
| 732 | name: 'omec_deploy_{pod}' |
| 733 | project-type: pipeline |
| 734 | |
| 735 | description: | |
| 736 | <!-- Managed by Jenkins Job Builder --> |
| 737 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 738 | |
| 739 | properties: |
| 740 | - cord-infra-properties: |
| 741 | build-days-to-keep: '{build-days-to-keep}' |
| 742 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 743 | |
| 744 | wrappers: |
| 745 | - lf-infra-wrappers: |
| 746 | build-timeout: '{build-timeout}' |
| 747 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 748 | |
| 749 | parameters: |
| 750 | - string: |
| 751 | name: buildNode |
| 752 | default: '{build-node}' |
| 753 | description: 'Name of the Jenkins executor node to run the job on.' |
| 754 | |
| 755 | - string: |
| 756 | name: cpContext |
| 757 | default: '{cp-context}' |
| 758 | description: 'K8S context for omec control plane.' |
| 759 | |
| 760 | - string: |
| 761 | name: dpContext |
| 762 | default: '{dp-context}' |
| 763 | description: 'K8S context for omec data plane.' |
| 764 | |
| 765 | - string: |
| 766 | name: centralConfig |
| 767 | default: '{central-config}' |
| 768 | description: 'Directory name for central yaml files under aether-pod-configs.' |
| 769 | |
| 770 | - string: |
| 771 | name: edgeConfig |
| 772 | default: '{edge-config}' |
| 773 | description: 'Directory name for edge yaml files under aether-pod-configs.' |
| 774 | |
| 775 | - string: |
| 776 | name: hssdbImage |
| 777 | default: 'omecproject/c3po-hssdb:master-latest' |
| 778 | description: 'Docker image for hssdb. Leave empty to use default helm-charts value' |
| 779 | |
| 780 | - string: |
| 781 | name: hssImage |
| 782 | default: 'omecproject/c3po-hss:master-latest' |
| 783 | description: 'Docker image for hss. Leave empty to use default helm-charts value' |
| 784 | |
| 785 | - string: |
| 786 | name: mmeImage |
| 787 | default: 'omecproject/nucleus:master-latest' |
| 788 | description: 'Docker image for mme. Leave empty to use default helm-charts value' |
| 789 | |
| 790 | - string: |
| 791 | name: spgwcImage |
| 792 | default: 'omecproject/ngic-cp:central-cp-multi-upfs-latest' |
| 793 | description: 'Docker image for spgwc. Leave empty to use default helm-charts value' |
| 794 | |
| 795 | - string: |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 796 | name: bessImage |
| 797 | default: 'omecproject/upf-epc-bess:master-latest' |
| 798 | description: 'Docker image for bess. Leave empty to use default helm-charts value' |
| 799 | |
| 800 | - string: |
| 801 | name: cpifaceImage |
| 802 | default: 'omecproject/upf-epc-cpiface:master-latest' |
| 803 | 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] | 804 | |
| 805 | concurrent: false |
| 806 | |
| 807 | pipeline-scm: |
| 808 | script-path: 'Jenkinsfile-omec-deploy.groovy' |
| 809 | scm: |
| 810 | - git: |
| 811 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 812 | branches: |
| 813 | - 'master' |
| 814 | |
| 815 | # OMEC test job |
| 816 | - job-template: |
| 817 | id: 'omec-ng40-test' |
| 818 | name: 'omec_ng40-test_{pod}' |
| 819 | project-type: pipeline |
| 820 | |
| 821 | description: | |
| 822 | <!-- Managed by Jenkins Job Builder --> |
| 823 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 824 | |
| 825 | properties: |
| 826 | - cord-infra-properties: |
| 827 | build-days-to-keep: '{build-days-to-keep}' |
| 828 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 829 | |
| 830 | wrappers: |
| 831 | - lf-infra-wrappers: |
| 832 | build-timeout: '{build-timeout}' |
| 833 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 834 | |
| 835 | parameters: |
| 836 | - string: |
| 837 | name: buildNode |
| 838 | default: '{build-node}' |
| 839 | description: 'Name of the Jenkins executor node to run the job on.' |
| 840 | |
| 841 | - string: |
| 842 | name: ng40VM |
| 843 | default: '{ng40-vm}' |
| 844 | description: 'user@IP for accessing NG40 VM from the build node.' |
| 845 | |
| 846 | - string: |
| 847 | name: ntlFile |
| 848 | default: 'run.ntl' |
| 849 | description: 'NG40 test automation file' |
| 850 | |
You Wang | add5817 | 2020-06-23 20:09:28 -0700 | [diff] [blame] | 851 | - string: |
| 852 | name: cpContext |
| 853 | default: '{cp-context}' |
| 854 | description: 'K8S context for omec control plane.' |
| 855 | |
| 856 | - string: |
| 857 | name: dpContext |
| 858 | default: '{dp-context}' |
| 859 | description: 'K8S context for omec data plane.' |
| 860 | |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 861 | concurrent: false |
| 862 | |
| 863 | pipeline-scm: |
| 864 | script-path: 'Jenkinsfile-omec-ng40-test.groovy' |
| 865 | scm: |
| 866 | - git: |
| 867 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 868 | branches: |
| 869 | - 'master' |
You Wang | c8955b1 | 2020-06-19 14:22:12 -0700 | [diff] [blame] | 870 | |
| 871 | # OMEC archive artifacts job |
| 872 | - job-template: |
| 873 | id: 'omec-archive-artifacts' |
| 874 | name: 'omec_archive-artifacts_{pod}' |
| 875 | project-type: pipeline |
| 876 | |
| 877 | description: | |
| 878 | <!-- Managed by Jenkins Job Builder --> |
| 879 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 880 | |
| 881 | properties: |
| 882 | - cord-infra-properties: |
| 883 | build-days-to-keep: '{build-days-to-keep}' |
| 884 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 885 | |
| 886 | wrappers: |
| 887 | - lf-infra-wrappers: |
| 888 | build-timeout: '{build-timeout}' |
| 889 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 890 | |
| 891 | parameters: |
| 892 | - string: |
| 893 | name: buildNode |
| 894 | default: '{build-node}' |
| 895 | description: 'Name of the Jenkins executor node to run the job on.' |
| 896 | |
| 897 | - string: |
| 898 | name: cpContext |
| 899 | default: '{cp-context}' |
| 900 | description: 'K8S context for omec control plane.' |
| 901 | |
| 902 | - string: |
| 903 | name: dpContext |
| 904 | default: '{dp-context}' |
| 905 | description: 'K8S context for omec data plane.' |
| 906 | |
| 907 | concurrent: false |
| 908 | |
| 909 | pipeline-scm: |
| 910 | script-path: 'Jenkinsfile-omec-archive-artifacts.groovy' |
| 911 | scm: |
| 912 | - git: |
| 913 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 914 | branches: |
| 915 | - 'master' |