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