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