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 | b68b3d1 | 2021-01-12 09:00:06 -0800 | [diff] [blame] | 24 | cp-context: 'acc-dev-gcp' |
| 25 | dp-context: 'ace-dev-menlo' |
| 26 | central-config: 'acc-dev-gcp/app_values/omec-cp.yaml' |
| 27 | edge-config: 'ace-dev-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 | b68b3d1 | 2021-01-12 09:00:06 -0800 | [diff] [blame] | 32 | cp-context: 'acc-dev-gcp' |
| 33 | dp-context: 'ace-dev-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 | b68b3d1 | 2021-01-12 09:00:06 -0800 | [diff] [blame] | 37 | cp-context: 'acc-dev-gcp' |
| 38 | dp-context: 'ace-dev-menlo' |
You Wang | c1f7196 | 2020-10-06 16:26:34 -0700 | [diff] [blame] | 39 | log-since: '1h' |
You Wang | 4f14afd | 2021-01-19 13:44:07 -0800 | [diff] [blame] | 40 | - 'omec-post-results': |
| 41 | pod: 'dev' |
| 42 | build-node: 'omec-ci' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 43 | - 'omec-postmerge': |
| 44 | project: '{name}' |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 45 | build-node: 'omec-ci' |
You Wang | b8bfa93 | 2020-05-29 16:22:15 -0700 | [diff] [blame] | 46 | c3po-branch-name: 'master' |
You Wang | 425d49f | 2020-07-29 21:43:28 -0700 | [diff] [blame] | 47 | spgw-branch-name: 'master' |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 48 | nucleus-branch-name: 'master' |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 49 | upf-branch-name: 'master' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 50 | pipeline-file: 'omec-postmerge.groovy' |
You Wang | f5a8003 | 2021-01-19 09:13:18 -0800 | [diff] [blame] | 51 | - 'omec-nightly': |
| 52 | pod: 'dev' |
| 53 | build-node: 'omec-ci' |
| 54 | type: 'func' |
| 55 | build-timeout: 30 |
| 56 | ntl-file: 'func.ntl' |
| 57 | time: '1' |
| 58 | desc: | |
| 59 | <img src="https://jenkins.opencord.org/job/omec_func_dev/lastCompletedBuild/artifact/plots/plot.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/> |
| 60 | - 'omec-nightly': |
| 61 | pod: 'dev' |
| 62 | build-node: 'omec-ci' |
| 63 | type: 'scale' |
| 64 | build-timeout: 180 |
| 65 | ntl-file: 'scale-16k-rate10.ntl' |
| 66 | time: '2' |
| 67 | desc: | |
| 68 | <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/attach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br /> |
| 69 | ----------<br /> |
| 70 | <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/detach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br /> |
| 71 | ----------<br /> |
| 72 | <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/ping.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br /> |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 73 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 74 | # for ngic-rtc |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 75 | - project: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 76 | name: ngic-rtc |
| 77 | project: '{name}' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 78 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 79 | build-node: 'intel-102' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 80 | github-organization: 'omec-project' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 81 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 82 | github_pr_org_list: |
| 83 | - 'omec-project' |
You Wang | 54afc7f | 2020-11-17 18:07:19 -0800 | [diff] [blame] | 84 | registry: 'registry.aetherproject.org/omecproject' |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 85 | registry-proxy: 'registry.aetherproject.org/proxy/omecproject' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 86 | |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 87 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 88 | - 'omec-combined': |
| 89 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 81cc00c | 2020-06-15 15:32:53 -0700 | [diff] [blame] | 90 | mme-repo: 'Nucleus' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 91 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 92 | sub-project: '{name}' |
You Wang | 4cba361 | 2020-04-29 16:47:10 -0700 | [diff] [blame] | 93 | branch: 'central-cp-multi-upfs' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 94 | pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 95 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 96 | pipeline-file: 'omec-fossa-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 97 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 98 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 99 | pipeline-file: 'omec-reuse-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 100 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 101 | - 'docker-publish-github': |
| 102 | build-timeout: 30 |
| 103 | docker-repo: 'omecproject' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 104 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 105 | - 'omec-container' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 106 | |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 107 | # for c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 108 | - project: |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 109 | name: c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 110 | project: '{name}' |
| 111 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 112 | build-node: 'intel-102' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 113 | github-organization: 'omec-project' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 114 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 115 | github_pr_org_list: |
| 116 | - 'omec-project' |
You Wang | 54afc7f | 2020-11-17 18:07:19 -0800 | [diff] [blame] | 117 | registry: 'registry.aetherproject.org/omecproject' |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 118 | registry-proxy: 'registry.aetherproject.org/proxy/omecproject' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 119 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 120 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 121 | - 'omec-combined': |
| 122 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 81cc00c | 2020-06-15 15:32:53 -0700 | [diff] [blame] | 123 | mme-repo: 'Nucleus' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 124 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 125 | sub-project: 'c3po-sgx' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 126 | branch: 'master' |
Zack Williams | 6202145 | 2019-04-15 13:23:46 -0700 | [diff] [blame] | 127 | pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 128 | - 'omec-install': |
| 129 | sub-project: 'c3po-hss' |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 130 | branch: 'master' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 131 | pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 132 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 133 | pipeline-file: 'omec-fossa-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 134 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 135 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 136 | pipeline-file: 'omec-reuse-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 137 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 138 | - 'docker-publish-github': |
| 139 | build-timeout: 30 |
| 140 | docker-repo: 'omecproject' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 141 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 142 | - 'omec-container' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 143 | - 'omec-container-remote': |
You Wang | de43355 | 2021-05-12 09:16:37 -0700 | [diff] [blame] | 144 | pod: 'ci-4g' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 145 | remote-jenkins-name: 'Aether Jenkins' |
| 146 | pipeline-file: 'omec-container-remote.groovy' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 147 | |
| 148 | # for openmme |
| 149 | - project: |
| 150 | name: openmme |
| 151 | project: '{name}' |
| 152 | |
Zack Williams | df7f9d3 | 2019-11-05 07:40:20 -0700 | [diff] [blame] | 153 | build-node: 'intel-102' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 154 | github-organization: 'omec-project' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 155 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 156 | github_pr_org_list: |
| 157 | - 'omec-project' |
You Wang | 54afc7f | 2020-11-17 18:07:19 -0800 | [diff] [blame] | 158 | registry: 'registry.aetherproject.org/omecproject' |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 159 | registry-proxy: 'registry.aetherproject.org/proxy/omecproject' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 160 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 161 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 162 | - 'omec-combined': |
| 163 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 164 | mme-repo: 'openmme' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 165 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 166 | sub-project: '{name}' |
You Wang | a1dcf25 | 2020-05-19 17:22:42 -0700 | [diff] [blame] | 167 | branch: 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 168 | pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 169 | - 'omec-fossa': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 170 | pipeline-file: 'omec-fossa-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 171 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 172 | - 'omec-reuse': |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 173 | pipeline-file: 'omec-reuse-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 174 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 175 | - 'docker-publish-github': |
| 176 | build-timeout: 30 |
| 177 | docker-repo: 'omecproject' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 178 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 179 | |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 180 | # for nucleus |
| 181 | - project: |
| 182 | name: Nucleus |
| 183 | project: '{name}' |
| 184 | |
| 185 | build-node: 'intel-102' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 186 | github-organization: 'omec-project' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 187 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 188 | github_pr_org_list: |
| 189 | - 'omec-project' |
You Wang | 54afc7f | 2020-11-17 18:07:19 -0800 | [diff] [blame] | 190 | registry: 'registry.aetherproject.org/omecproject' |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 191 | registry-proxy: 'registry.aetherproject.org/proxy/omecproject' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 192 | |
| 193 | jobs: |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 194 | - 'omec-combined': |
| 195 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
| 196 | mme-repo: 'Nucleus' |
| 197 | - 'omec-install': |
| 198 | sub-project: '{name}' |
| 199 | branch: 'master' |
| 200 | pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 201 | - 'omec-fossa': |
| 202 | pipeline-file: 'omec-fossa-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 203 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 204 | - 'omec-reuse': |
| 205 | pipeline-file: 'omec-reuse-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 206 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | b8f07bb | 2020-12-03 12:01:45 -0800 | [diff] [blame] | 207 | - 'omec-cppcheck': |
| 208 | pipeline-file: 'omec-cppcheck.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 209 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
You Wang | f573955 | 2020-06-02 16:36:31 -0700 | [diff] [blame] | 210 | - 'docker-publish-github': |
| 211 | build-timeout: 60 |
| 212 | docker-repo: 'omecproject' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 213 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 214 | - 'omec-container' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 215 | - 'omec-container-remote': |
You Wang | de43355 | 2021-05-12 09:16:37 -0700 | [diff] [blame] | 216 | pod: 'ci-4g' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 217 | remote-jenkins-name: 'Aether Jenkins' |
| 218 | pipeline-file: 'omec-container-remote.groovy' |
Jeremy Ronquillo | a9b8e4d | 2020-02-28 13:59:12 -0800 | [diff] [blame] | 219 | |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 220 | # for freediameter |
| 221 | - project: |
| 222 | name: freediameter |
| 223 | project: '{name}' |
| 224 | |
| 225 | build-node: 'intel-102' |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 226 | github-organization: 'omec-project' |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 227 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 228 | github_pr_org_list: |
| 229 | - 'omec-project' |
You Wang | 54afc7f | 2020-11-17 18:07:19 -0800 | [diff] [blame] | 230 | registry: 'registry.aetherproject.org/omecproject' |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 231 | registry-proxy: 'registry.aetherproject.org/proxy/omecproject' |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 232 | |
| 233 | jobs: |
| 234 | - 'omec-fossa': |
| 235 | pipeline-file: 'omec-fossa-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 236 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 237 | - 'omec-reuse': |
| 238 | pipeline-file: 'omec-reuse-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 239 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | ea6d620 | 2020-03-04 10:27:35 -0800 | [diff] [blame] | 240 | |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 241 | # for ignite |
| 242 | - project: |
| 243 | name: ignite |
| 244 | project: '{name}' |
| 245 | |
| 246 | build-node: 'intel-102' |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 247 | github-organization: 'omec-project' |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 248 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 249 | github_pr_org_list: |
| 250 | - 'omec-project' |
You Wang | 54afc7f | 2020-11-17 18:07:19 -0800 | [diff] [blame] | 251 | registry: 'registry.aetherproject.org/omecproject' |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 252 | registry-proxy: 'registry.aetherproject.org/proxy/omecproject' |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 253 | |
| 254 | jobs: |
| 255 | - 'omec-fossa': |
| 256 | pipeline-file: 'omec-fossa-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 257 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 258 | - 'omec-reuse': |
| 259 | pipeline-file: 'omec-reuse-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 260 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
Jeremy Ronquillo | cc302e1 | 2020-03-30 11:44:49 -0700 | [diff] [blame] | 261 | |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 262 | # for upf-epc |
| 263 | - project: |
| 264 | name: upf-epc |
| 265 | project: '{name}' |
| 266 | |
| 267 | github-organization: 'omec-project' |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 268 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 269 | github_pr_org_list: |
| 270 | - 'omec-project' |
You Wang | 54afc7f | 2020-11-17 18:07:19 -0800 | [diff] [blame] | 271 | registry: 'registry.aetherproject.org/omecproject' |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 272 | registry-proxy: 'registry.aetherproject.org/proxy/omecproject' |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 273 | |
| 274 | jobs: |
| 275 | - 'omec-fossa': |
| 276 | pipeline-file: 'omec-fossa-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 277 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 278 | - 'omec-reuse': |
| 279 | pipeline-file: 'omec-reuse-scan.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 280 | build-node: 'ubuntu18.04-basebuild-1c-2g' |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 281 | - 'docker-publish-github': |
| 282 | build-timeout: 30 |
| 283 | docker-repo: 'omecproject' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 284 | build-node: 'ubuntu18.04-basebuild-2c-4g' |
You Wang | fe70d41 | 2020-05-27 14:28:36 -0700 | [diff] [blame] | 285 | extraEnvironmentVars: CPU=haswell |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 286 | - 'omec-container' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 287 | - 'omec-container-remote': |
You Wang | de43355 | 2021-05-12 09:16:37 -0700 | [diff] [blame] | 288 | pod: 'ci-4g' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 289 | remote-jenkins-name: 'Aether Jenkins' |
| 290 | pipeline-file: 'omec-container-remote.groovy' |
You Wang | ccc1349 | 2020-04-01 11:11:59 -0700 | [diff] [blame] | 291 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 292 | # Combined pipeline |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 293 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 294 | id: 'omec-combined' |
| 295 | name: 'omec_{project}_combined' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 296 | project-type: pipeline |
| 297 | |
| 298 | description: | |
| 299 | <!-- Managed by Jenkins Job Builder --> |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 300 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 301 | |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 302 | disabled: true |
| 303 | |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 304 | properties: |
| 305 | - cord-infra-properties: |
| 306 | build-days-to-keep: '{build-days-to-keep}' |
| 307 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 308 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 309 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 310 | - build-blocker: |
| 311 | use-build-blocker: true |
| 312 | blocking-jobs: |
Zack Williams | 6af01fe | 2019-03-15 11:08:53 -0700 | [diff] [blame] | 313 | - "omec_.*_combined" |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 314 | |
| 315 | wrappers: |
| 316 | - lf-infra-wrappers: |
| 317 | build-timeout: '{build-timeout}' |
| 318 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 319 | |
| 320 | parameters: |
| 321 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 322 | name: buildNode |
| 323 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 324 | description: 'Name of the Jenkins executor node to run the job on' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 325 | |
| 326 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 327 | name: project |
| 328 | default: '{project}' |
| 329 | description: 'Name of the project' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 330 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 331 | - string: |
| 332 | name: mmeRepo |
| 333 | default: '{mme-repo}' |
| 334 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 335 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 336 | triggers: |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 337 | - cord-infra-github-pr-trigger: |
| 338 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 339 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 340 | status_context: 'CORD Jenkins - Combined Steps Verification' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 341 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 342 | concurrent: false |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 343 | |
| 344 | pipeline-scm: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 345 | script-path: '{pipeline-file}' |
| 346 | scm: |
| 347 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 348 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 349 | branches: |
| 350 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 351 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 352 | # install jobs, run for each project |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 353 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 354 | id: 'omec-install' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 355 | name: 'omec_{sub-project}_install' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 356 | project-type: pipeline |
| 357 | |
| 358 | description: | |
| 359 | <!-- Managed by Jenkins Job Builder --> |
| 360 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 361 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 362 | disabled: true |
| 363 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 364 | properties: |
| 365 | - cord-infra-properties: |
| 366 | build-days-to-keep: '{build-days-to-keep}' |
| 367 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 368 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 369 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 370 | |
| 371 | wrappers: |
| 372 | - lf-infra-wrappers: |
| 373 | build-timeout: '{build-timeout}' |
| 374 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 375 | |
| 376 | parameters: |
| 377 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 378 | name: buildNode |
| 379 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 380 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 381 | |
| 382 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 383 | name: project |
| 384 | default: '{project}' |
| 385 | description: 'Name of the project' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 386 | |
You Wang | 8addd4c | 2020-04-14 16:25:57 -0700 | [diff] [blame] | 387 | - string: |
| 388 | name: branch |
| 389 | default: '{branch}' |
| 390 | description: 'Branch of the project' |
| 391 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 392 | concurrent: false |
| 393 | |
| 394 | pipeline-scm: |
| 395 | script-path: '{pipeline-file}' |
| 396 | scm: |
| 397 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 398 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 399 | branches: |
| 400 | - 'master' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 401 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 402 | # FOSSA License Scan |
| 403 | - job-template: |
| 404 | id: 'omec-fossa' |
| 405 | name: 'omec_{project}_fossa' |
| 406 | project-type: pipeline |
| 407 | |
| 408 | description: | |
| 409 | <!-- Managed by Jenkins Job Builder --> |
| 410 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 411 | |
| 412 | properties: |
| 413 | - cord-infra-properties: |
| 414 | build-days-to-keep: '{build-days-to-keep}' |
| 415 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 416 | - github: |
| 417 | url: 'https://github.com/{github-organization}/{project}' |
| 418 | |
| 419 | wrappers: |
| 420 | - lf-infra-wrappers: |
| 421 | build-timeout: '{build-timeout}' |
| 422 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 423 | |
| 424 | parameters: |
| 425 | - string: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 426 | name: ghprbPullId |
| 427 | default: '$ghprbPullId' |
| 428 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 429 | |
| 430 | - string: |
| 431 | name: branch |
| 432 | default: '$ghprbTargetBranch' |
| 433 | description: 'Branch to run. Only used when manually run.' |
| 434 | |
| 435 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 436 | name: buildNode |
| 437 | default: '{build-node}' |
| 438 | description: 'Name of the Jenkins executor node to run the job on' |
| 439 | |
| 440 | - string: |
| 441 | name: project |
| 442 | default: '{project}' |
| 443 | description: 'Name of the project' |
| 444 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 445 | - string: |
| 446 | name: ghprbGhRepository |
| 447 | default: '{github-organization}/{project}' |
| 448 | description: 'Repository of the project.' |
| 449 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 450 | triggers: |
| 451 | - cord-infra-github-pr-trigger: |
| 452 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 453 | github_pr_auth_id: '{github_pr_auth_id}' |
| 454 | status_context: 'CORD Jenkins - FOSSA Verification' |
| 455 | |
| 456 | concurrent: false |
| 457 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 458 | project-type: pipeline |
| 459 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 460 | |
| 461 | # REUSE License Scan |
| 462 | - job-template: |
| 463 | id: 'omec-reuse' |
| 464 | name: 'omec_{project}_reuse' |
| 465 | project-type: pipeline |
| 466 | |
| 467 | description: | |
| 468 | <!-- Managed by Jenkins Job Builder --> |
| 469 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 470 | |
| 471 | properties: |
| 472 | - cord-infra-properties: |
| 473 | build-days-to-keep: '{build-days-to-keep}' |
| 474 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 475 | - github: |
| 476 | url: 'https://github.com/{github-organization}/{project}' |
| 477 | |
| 478 | wrappers: |
| 479 | - lf-infra-wrappers: |
| 480 | build-timeout: '{build-timeout}' |
| 481 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 482 | |
| 483 | parameters: |
| 484 | - string: |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 485 | name: ghprbPullId |
| 486 | default: '$ghprbPullId' |
| 487 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 488 | |
| 489 | - string: |
| 490 | name: branch |
| 491 | default: '$ghprbTargetBranch' |
| 492 | description: 'Branch to run. Only used when manually run.' |
| 493 | |
| 494 | - string: |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 495 | name: buildNode |
| 496 | default: '{build-node}' |
| 497 | description: 'Name of the Jenkins executor node to run the job on' |
| 498 | |
| 499 | - string: |
| 500 | name: project |
| 501 | default: '{project}' |
| 502 | description: 'Name of the project' |
| 503 | |
Jeremy Ronquillo | 3ca065c | 2020-04-24 10:40:54 -0700 | [diff] [blame] | 504 | - string: |
| 505 | name: ghprbGhRepository |
| 506 | default: '{github-organization}/{project}' |
| 507 | description: 'Repository of the project.' |
| 508 | |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 509 | triggers: |
| 510 | - cord-infra-github-pr-trigger: |
| 511 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 512 | github_pr_auth_id: '{github_pr_auth_id}' |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 513 | status_context: 'CORD Jenkins - Licenses Verification' |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 514 | |
| 515 | concurrent: false |
| 516 | |
Jeremy Ronquillo | f4b37be | 2020-01-31 13:44:14 -0800 | [diff] [blame] | 517 | project-type: pipeline |
| 518 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
Jeremy Ronquillo | 9adc0a9 | 2020-01-29 10:49:45 -0800 | [diff] [blame] | 519 | |
Jeremy Ronquillo | b8f07bb | 2020-12-03 12:01:45 -0800 | [diff] [blame] | 520 | # cppcheck |
| 521 | - job-template: |
| 522 | id: 'omec-cppcheck' |
| 523 | name: 'omec_{project}-cppcheck' |
| 524 | project-type: pipeline |
| 525 | |
| 526 | description: | |
| 527 | <!-- Managed by Jenkins Job Builder --> |
| 528 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 529 | |
| 530 | properties: |
| 531 | - cord-infra-properties: |
| 532 | build-days-to-keep: '{build-days-to-keep}' |
| 533 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 534 | - github: |
| 535 | url: 'https://github.com/{github-organization}/{project}' |
| 536 | |
| 537 | wrappers: |
| 538 | - lf-infra-wrappers: |
| 539 | build-timeout: '{build-timeout}' |
| 540 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 541 | |
| 542 | parameters: |
| 543 | - string: |
| 544 | name: ghprbPullId |
| 545 | default: '$ghprbPullId' |
| 546 | description: 'Pull request number to fetch changes from. Leave blank to run manually.' |
| 547 | |
| 548 | - string: |
| 549 | name: branch |
| 550 | default: '$ghprbTargetBranch' |
| 551 | description: 'Branch to run. Only used when manually run.' |
| 552 | |
| 553 | - string: |
| 554 | name: buildNode |
| 555 | default: '{build-node}' |
| 556 | description: 'Name of the Jenkins executor node to run the job on' |
| 557 | |
| 558 | - string: |
| 559 | name: project |
| 560 | default: '{project}' |
| 561 | description: 'Name of the project' |
| 562 | |
| 563 | - string: |
| 564 | name: ghprbGhRepository |
| 565 | default: '{github-organization}/{project}' |
| 566 | description: 'Repository of the project.' |
| 567 | |
| 568 | triggers: |
| 569 | - cord-infra-github-pr-trigger: |
| 570 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 571 | github_pr_auth_id: '{github_pr_auth_id}' |
| 572 | status_context: 'CORD Jenkins - cppcheck Verification' |
| 573 | |
| 574 | concurrent: false |
| 575 | |
| 576 | project-type: pipeline |
| 577 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
| 578 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 579 | # tests |
| 580 | - job-template: |
| 581 | id: 'omec-tc1' |
| 582 | name: 'omec_tc1' |
| 583 | project-type: pipeline |
| 584 | |
| 585 | description: | |
| 586 | <!-- Managed by Jenkins Job Builder --> |
| 587 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 588 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 589 | disabled: true |
| 590 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 591 | properties: |
| 592 | - cord-infra-properties: |
| 593 | build-days-to-keep: '{build-days-to-keep}' |
| 594 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 595 | |
| 596 | wrappers: |
| 597 | - lf-infra-wrappers: |
| 598 | build-timeout: '{build-timeout}' |
| 599 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 600 | |
| 601 | parameters: |
| 602 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 603 | name: buildNode |
| 604 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 605 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 606 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 607 | - string: |
| 608 | name: mmeRepo |
| 609 | default: 'openmme' |
| 610 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 611 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 612 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 613 | |
| 614 | pipeline-scm: |
| 615 | script-path: 'Jenkinsfile-omec-test-TC1.groovy' |
| 616 | scm: |
| 617 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 618 | url: 'https://github.com/omec-project/omec-project-ci' |
| 619 | branches: |
| 620 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 621 | |
| 622 | - job-template: |
| 623 | id: 'omec-tc2' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 624 | name: 'omec_tc2' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 625 | project-type: pipeline |
| 626 | |
| 627 | description: | |
| 628 | <!-- Managed by Jenkins Job Builder --> |
| 629 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 630 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 631 | disabled: true |
| 632 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 633 | properties: |
| 634 | - cord-infra-properties: |
| 635 | build-days-to-keep: '{build-days-to-keep}' |
| 636 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 637 | |
| 638 | wrappers: |
| 639 | - lf-infra-wrappers: |
| 640 | build-timeout: '{build-timeout}' |
| 641 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 642 | |
| 643 | parameters: |
| 644 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 645 | name: buildNode |
| 646 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 647 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 648 | |
You Wang | 8305544 | 2020-04-17 14:54:40 -0700 | [diff] [blame] | 649 | - string: |
| 650 | name: mmeRepo |
| 651 | default: 'openmme' |
| 652 | description: 'Name of the MME repo to test (openmme/Nucleus)' |
| 653 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 654 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 655 | |
| 656 | pipeline-scm: |
| 657 | script-path: 'Jenkinsfile-omec-test-TC2.groovy' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 658 | scm: |
| 659 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 660 | url: 'https://github.com/omec-project/omec-project-ci' |
| 661 | branches: |
| 662 | - 'master' |
Jeremy Ronquillo | 1b9581f | 2020-03-20 10:37:59 -0700 | [diff] [blame] | 663 | |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 664 | # Post-merge job |
| 665 | # Triggered by Github pull request merge |
| 666 | - job-template: |
| 667 | id: omec-postmerge |
| 668 | name: '{project}_postmerge' |
| 669 | description: | |
| 670 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml |
| 671 | |
| 672 | properties: |
| 673 | - cord-infra-properties: |
| 674 | build-days-to-keep: '{build-days-to-keep}' |
| 675 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 676 | |
| 677 | triggers: |
| 678 | - cord-infra-github-pr-trigger-merge: |
| 679 | project: '{project}' |
| 680 | |
| 681 | wrappers: |
| 682 | - lf-infra-wrappers: |
| 683 | build-timeout: '{build-timeout}' |
| 684 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 685 | |
| 686 | parameters: |
| 687 | - string: |
| 688 | name: buildNode |
| 689 | default: '{build-node}' |
| 690 | description: 'Name of the Jenkins node to run the job on' |
| 691 | |
| 692 | - string: |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 693 | name: registryProxy |
| 694 | default: '{registry-proxy}' |
| 695 | description: 'Harbor proxy which caches dockerhub images' |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 696 | |
| 697 | - string: |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 698 | name: repoName |
| 699 | default: '' |
| 700 | description: 'Name of the git repo. Populated by Generic Webhook Trigger' |
| 701 | |
| 702 | - string: |
| 703 | name: repoUrl |
| 704 | default: '' |
| 705 | description: 'URL to the git repo. Populated by Generic Webhook Trigger' |
| 706 | |
| 707 | - string: |
| 708 | name: branchName |
| 709 | default: '' |
| 710 | description: 'Branch of the project. Populated by Generic Webhook Trigger' |
| 711 | |
| 712 | - string: |
| 713 | name: commitHash |
| 714 | default: '' |
| 715 | description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger' |
| 716 | |
| 717 | - string: |
| 718 | name: c3poBranchName |
| 719 | default: '{c3po-branch-name}' |
| 720 | description: 'Branch name of c3po repo which we run tests against' |
| 721 | |
| 722 | - string: |
You Wang | 425d49f | 2020-07-29 21:43:28 -0700 | [diff] [blame] | 723 | name: spgwBranchName |
| 724 | default: '{spgw-branch-name}' |
| 725 | description: 'Branch name of spgw repo which we run tests against' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 726 | |
| 727 | - string: |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 728 | name: nucleusBranchName |
| 729 | default: '{nucleus-branch-name}' |
| 730 | description: 'Branch name of Nucleus repo which we run tests against' |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 731 | |
| 732 | - string: |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 733 | name: upfBranchName |
| 734 | default: '{upf-branch-name}' |
| 735 | description: 'Branch name of upf-epc repo which we run tests against' |
| 736 | |
| 737 | - string: |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 738 | name: maintainers |
| 739 | default: 'jeremyr@opennetworking.org, you@opennetworking.org' |
| 740 | description: "The person that sould be notified if this job fails" |
| 741 | |
| 742 | project-type: pipeline |
You Wang | 4023945 | 2020-06-11 20:17:15 -0700 | [diff] [blame] | 743 | concurrent: false |
You Wang | 5c15a7a | 2020-04-02 11:24:33 -0700 | [diff] [blame] | 744 | |
| 745 | dsl: !include-raw-escape: pipeline/{pipeline-file} |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 746 | |
| 747 | # OMEC CI job which builds docker images, deploys and tests OMEC |
| 748 | - job-template: |
| 749 | id: 'omec-container' |
| 750 | name: 'omec_{project}_container' |
| 751 | project-type: pipeline |
| 752 | |
| 753 | description: | |
| 754 | <!-- Managed by Jenkins Job Builder --> |
| 755 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 756 | |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 757 | disabled: true |
| 758 | |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 759 | properties: |
| 760 | - cord-infra-properties: |
| 761 | build-days-to-keep: '{build-days-to-keep}' |
| 762 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 763 | - github: |
| 764 | url: 'https://github.com/{github-organization}/{project}' |
| 765 | - build-blocker: |
| 766 | use-build-blocker: true |
| 767 | blocking-jobs: |
You Wang | 1e8ad9c | 2020-07-29 17:32:04 -0700 | [diff] [blame] | 768 | - ".*_container" |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 769 | |
| 770 | wrappers: |
| 771 | - lf-infra-wrappers: |
| 772 | build-timeout: '{build-timeout}' |
| 773 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 774 | |
| 775 | parameters: |
| 776 | - string: |
| 777 | name: buildNode |
Jeremy Ronquillo | 083fc46 | 2020-10-14 20:44:39 +0000 | [diff] [blame] | 778 | default: 'omec-ci' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 779 | description: 'Name of the Jenkins executor node to run the job on' |
| 780 | |
| 781 | - string: |
| 782 | name: project |
| 783 | default: '{project}' |
| 784 | description: 'Name of the project' |
| 785 | |
| 786 | - string: |
| 787 | name: ghprbTargetBranch |
| 788 | default: '$ghprbTargetBranch' |
| 789 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 790 | |
| 791 | - string: |
| 792 | name: ghprbPullId |
| 793 | default: '$ghprbPullId' |
| 794 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 795 | |
| 796 | - string: |
| 797 | name: ghprbActualCommit |
| 798 | default: '$ghprbActualCommit' |
| 799 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 800 | |
| 801 | - string: |
| 802 | name: registry |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 803 | default: '{registry}' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 804 | description: 'Docker registry that stores images built for CI testing' |
| 805 | |
| 806 | - string: |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 807 | name: registryProxy |
| 808 | default: '{registry-proxy}' |
| 809 | description: 'Harbor proxy which caches dockerhub images' |
| 810 | |
| 811 | - string: |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 812 | name: c3poBranch |
| 813 | default: 'master' |
| 814 | description: 'Branch name of c3po repo which we run tests against' |
| 815 | |
| 816 | - string: |
| 817 | name: nucleusBranch |
| 818 | default: 'master' |
| 819 | description: 'Branch name of Nucleus repo which we run tests against' |
| 820 | |
| 821 | - string: |
You Wang | 1e8ad9c | 2020-07-29 17:32:04 -0700 | [diff] [blame] | 822 | name: spgwBranch |
| 823 | default: 'master' |
| 824 | description: 'Branch name of spgw repo which we run tests against' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 825 | |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 826 | - string: |
| 827 | name: upfBranch |
| 828 | default: 'master' |
| 829 | description: 'Branch name of upf-epc repo which we run tests against' |
| 830 | |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 831 | triggers: |
| 832 | - cord-infra-github-pr-trigger: |
| 833 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 834 | github_pr_auth_id: '{github_pr_auth_id}' |
| 835 | status_context: 'CORD Jenkins - Container Based Verification' |
| 836 | |
| 837 | concurrent: false |
| 838 | |
| 839 | pipeline-scm: |
| 840 | script-path: 'Jenkinsfile-omec-container.groovy' |
| 841 | scm: |
| 842 | - git: |
| 843 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 844 | branches: |
| 845 | - 'master' |
| 846 | |
| 847 | # OMEC deployment job |
| 848 | - job-template: |
| 849 | id: 'omec-deploy' |
| 850 | name: 'omec_deploy_{pod}' |
| 851 | project-type: pipeline |
| 852 | |
| 853 | description: | |
| 854 | <!-- Managed by Jenkins Job Builder --> |
| 855 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 856 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 857 | disabled: true |
| 858 | |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 859 | properties: |
| 860 | - cord-infra-properties: |
| 861 | build-days-to-keep: '{build-days-to-keep}' |
| 862 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 863 | |
| 864 | wrappers: |
| 865 | - lf-infra-wrappers: |
| 866 | build-timeout: '{build-timeout}' |
| 867 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 868 | |
| 869 | parameters: |
| 870 | - string: |
| 871 | name: buildNode |
| 872 | default: '{build-node}' |
| 873 | description: 'Name of the Jenkins executor node to run the job on.' |
| 874 | |
| 875 | - string: |
| 876 | name: cpContext |
| 877 | default: '{cp-context}' |
| 878 | description: 'K8S context for omec control plane.' |
| 879 | |
| 880 | - string: |
| 881 | name: dpContext |
| 882 | default: '{dp-context}' |
| 883 | description: 'K8S context for omec data plane.' |
| 884 | |
| 885 | - string: |
| 886 | name: centralConfig |
| 887 | default: '{central-config}' |
| 888 | description: 'Directory name for central yaml files under aether-pod-configs.' |
| 889 | |
| 890 | - string: |
| 891 | name: edgeConfig |
| 892 | default: '{edge-config}' |
| 893 | description: 'Directory name for edge yaml files under aether-pod-configs.' |
| 894 | |
| 895 | - string: |
| 896 | name: hssdbImage |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 897 | default: '{registry-proxy}/c3po-hssdb:master-latest' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 898 | description: 'Docker image for hssdb. Leave empty to use default helm-charts value' |
| 899 | |
| 900 | - string: |
| 901 | name: hssImage |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 902 | default: '{registry-proxy}/c3po-hss:master-latest' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 903 | description: 'Docker image for hss. Leave empty to use default helm-charts value' |
| 904 | |
| 905 | - string: |
| 906 | name: mmeImage |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 907 | default: '{registry-proxy}/nucleus:master-latest' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 908 | description: 'Docker image for mme. Leave empty to use default helm-charts value' |
| 909 | |
| 910 | - string: |
| 911 | name: spgwcImage |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 912 | default: '{registry-proxy}/spgw:master-latest' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 913 | description: 'Docker image for spgwc. Leave empty to use default helm-charts value' |
| 914 | |
| 915 | - string: |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 916 | name: bessImage |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 917 | default: '{registry-proxy}/upf-epc-bess:master-latest' |
You Wang | e1cbba2 | 2020-06-15 21:16:14 -0700 | [diff] [blame] | 918 | description: 'Docker image for bess. Leave empty to use default helm-charts value' |
| 919 | |
| 920 | - string: |
You Wang | 1e8ad9c | 2020-07-29 17:32:04 -0700 | [diff] [blame] | 921 | name: zmqifaceImage |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 922 | default: '{registry-proxy}/upf-epc-cpiface:master-latest' |
You Wang | 1e8ad9c | 2020-07-29 17:32:04 -0700 | [diff] [blame] | 923 | description: 'Docker image for zmqiface. Leave empty to use default helm-charts value' |
| 924 | |
| 925 | - string: |
| 926 | name: pfcpifaceImage |
You Wang | 8be478b | 2020-11-17 14:41:16 -0800 | [diff] [blame] | 927 | default: '{registry-proxy}/upf-epc-pfcpiface:master-latest' |
You Wang | 1e8ad9c | 2020-07-29 17:32:04 -0700 | [diff] [blame] | 928 | 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] | 929 | |
| 930 | concurrent: false |
| 931 | |
| 932 | pipeline-scm: |
| 933 | script-path: 'Jenkinsfile-omec-deploy.groovy' |
| 934 | scm: |
| 935 | - git: |
| 936 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 937 | branches: |
| 938 | - 'master' |
| 939 | |
| 940 | # OMEC test job |
| 941 | - job-template: |
| 942 | id: 'omec-ng40-test' |
| 943 | name: 'omec_ng40-test_{pod}' |
| 944 | project-type: pipeline |
| 945 | |
| 946 | description: | |
| 947 | <!-- Managed by Jenkins Job Builder --> |
| 948 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 949 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 950 | disabled: true |
| 951 | |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 952 | properties: |
| 953 | - cord-infra-properties: |
| 954 | build-days-to-keep: '{build-days-to-keep}' |
| 955 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 956 | |
| 957 | wrappers: |
| 958 | - lf-infra-wrappers: |
| 959 | build-timeout: '{build-timeout}' |
| 960 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 961 | |
| 962 | parameters: |
| 963 | - string: |
| 964 | name: buildNode |
| 965 | default: '{build-node}' |
| 966 | description: 'Name of the Jenkins executor node to run the job on.' |
| 967 | |
| 968 | - string: |
You Wang | 5647a3a | 2020-07-15 10:54:25 -0700 | [diff] [blame] | 969 | name: timeout |
| 970 | default: '30' |
| 971 | description: 'Timeout period for this pipeline in minutes.' |
| 972 | |
| 973 | - string: |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 974 | name: ng40VM |
| 975 | default: '{ng40-vm}' |
| 976 | description: 'user@IP for accessing NG40 VM from the build node.' |
| 977 | |
| 978 | - string: |
| 979 | name: ntlFile |
You Wang | 146d243 | 2020-11-06 15:02:52 -0800 | [diff] [blame] | 980 | default: 'ci.ntl' |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 981 | description: 'NG40 test automation file' |
| 982 | |
You Wang | add5817 | 2020-06-23 20:09:28 -0700 | [diff] [blame] | 983 | - string: |
| 984 | name: cpContext |
| 985 | default: '{cp-context}' |
| 986 | description: 'K8S context for omec control plane.' |
| 987 | |
| 988 | - string: |
| 989 | name: dpContext |
| 990 | default: '{dp-context}' |
| 991 | description: 'K8S context for omec data plane.' |
| 992 | |
You Wang | 3cc17af | 2020-06-12 14:56:10 -0700 | [diff] [blame] | 993 | concurrent: false |
| 994 | |
| 995 | pipeline-scm: |
| 996 | script-path: 'Jenkinsfile-omec-ng40-test.groovy' |
| 997 | scm: |
| 998 | - git: |
| 999 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 1000 | branches: |
| 1001 | - 'master' |
You Wang | c8955b1 | 2020-06-19 14:22:12 -0700 | [diff] [blame] | 1002 | |
| 1003 | # OMEC archive artifacts job |
| 1004 | - job-template: |
| 1005 | id: 'omec-archive-artifacts' |
| 1006 | name: 'omec_archive-artifacts_{pod}' |
| 1007 | project-type: pipeline |
| 1008 | |
| 1009 | description: | |
| 1010 | <!-- Managed by Jenkins Job Builder --> |
| 1011 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 1012 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 1013 | disabled: true |
| 1014 | |
You Wang | c8955b1 | 2020-06-19 14:22:12 -0700 | [diff] [blame] | 1015 | properties: |
| 1016 | - cord-infra-properties: |
| 1017 | build-days-to-keep: '{build-days-to-keep}' |
You Wang | 363dd8b | 2020-11-09 13:46:08 -0800 | [diff] [blame] | 1018 | artifact-num-to-keep: 2 |
You Wang | c8955b1 | 2020-06-19 14:22:12 -0700 | [diff] [blame] | 1019 | |
| 1020 | wrappers: |
| 1021 | - lf-infra-wrappers: |
| 1022 | build-timeout: '{build-timeout}' |
| 1023 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 1024 | |
| 1025 | parameters: |
| 1026 | - string: |
| 1027 | name: buildNode |
| 1028 | default: '{build-node}' |
| 1029 | description: 'Name of the Jenkins executor node to run the job on.' |
| 1030 | |
| 1031 | - string: |
| 1032 | name: cpContext |
| 1033 | default: '{cp-context}' |
| 1034 | description: 'K8S context for omec control plane.' |
| 1035 | |
| 1036 | - string: |
| 1037 | name: dpContext |
| 1038 | default: '{dp-context}' |
| 1039 | description: 'K8S context for omec data plane.' |
| 1040 | |
You Wang | c1f7196 | 2020-10-06 16:26:34 -0700 | [diff] [blame] | 1041 | - string: |
| 1042 | name: logSince |
| 1043 | default: '{log-since}' |
You Wang | 2481520 | 2020-12-08 16:22:35 -0800 | [diff] [blame] | 1044 | description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified' |
| 1045 | |
| 1046 | - string: |
| 1047 | name: logSinceTime |
| 1048 | default: '' |
| 1049 | description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified' |
You Wang | c1f7196 | 2020-10-06 16:26:34 -0700 | [diff] [blame] | 1050 | |
You Wang | c8955b1 | 2020-06-19 14:22:12 -0700 | [diff] [blame] | 1051 | concurrent: false |
| 1052 | |
| 1053 | pipeline-scm: |
| 1054 | script-path: 'Jenkinsfile-omec-archive-artifacts.groovy' |
| 1055 | scm: |
| 1056 | - git: |
| 1057 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 1058 | branches: |
| 1059 | - 'master' |
You Wang | f5a8003 | 2021-01-19 09:13:18 -0800 | [diff] [blame] | 1060 | |
| 1061 | # OMEC nightly job |
| 1062 | - job-template: |
| 1063 | id: 'omec-nightly' |
| 1064 | name: 'omec_{type}_{pod}' |
| 1065 | project-type: pipeline |
| 1066 | |
| 1067 | description: | |
| 1068 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 1069 | {desc} |
| 1070 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 1071 | disabled: true |
| 1072 | |
You Wang | f5a8003 | 2021-01-19 09:13:18 -0800 | [diff] [blame] | 1073 | properties: |
| 1074 | - cord-infra-properties: |
| 1075 | build-days-to-keep: '{build-days-to-keep}' |
| 1076 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 1077 | |
| 1078 | wrappers: |
| 1079 | - lf-infra-wrappers: |
| 1080 | build-timeout: '{build-timeout}' |
| 1081 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 1082 | |
| 1083 | parameters: |
| 1084 | - string: |
| 1085 | name: buildNode |
| 1086 | default: '{build-node}' |
| 1087 | description: 'Name of the Jenkins executor node to run the job on' |
| 1088 | |
| 1089 | - string: |
| 1090 | name: testType |
| 1091 | default: '{type}' |
| 1092 | description: 'Type of test' |
| 1093 | |
| 1094 | - string: |
| 1095 | name: pod |
| 1096 | default: '{pod}' |
| 1097 | description: 'Name of OMEC POD' |
| 1098 | |
| 1099 | - string: |
| 1100 | name: timeout |
| 1101 | default: '{build-timeout}' |
| 1102 | description: 'Timeout period for this pipeline in minutes' |
| 1103 | |
| 1104 | - string: |
| 1105 | name: ntlFile |
| 1106 | default: '{ntl-file}' |
| 1107 | description: 'NG40 test automation file' |
| 1108 | |
| 1109 | - bool: |
| 1110 | name: redeploy |
| 1111 | default: true |
| 1112 | description: 'Redeploy OMEC before running tests if set to true' |
| 1113 | |
You Wang | baeea36 | 2021-01-19 14:11:15 -0800 | [diff] [blame] | 1114 | - string: |
| 1115 | name: hssdbImage |
| 1116 | default: '{registry-proxy}/c3po-hssdb:master-latest' |
| 1117 | description: 'Docker image for hssdb. Leave empty to use default helm-charts value' |
| 1118 | |
| 1119 | - string: |
| 1120 | name: hssImage |
| 1121 | default: '{registry-proxy}/c3po-hss:master-latest' |
| 1122 | description: 'Docker image for hss. Leave empty to use default helm-charts value' |
| 1123 | |
| 1124 | - string: |
| 1125 | name: mmeImage |
| 1126 | default: '{registry-proxy}/nucleus:master-latest' |
| 1127 | description: 'Docker image for mme. Leave empty to use default helm-charts value' |
| 1128 | |
| 1129 | - string: |
| 1130 | name: spgwcImage |
| 1131 | default: '{registry-proxy}/spgw:master-latest' |
| 1132 | description: 'Docker image for spgwc. Leave empty to use default helm-charts value' |
| 1133 | |
| 1134 | - string: |
| 1135 | name: bessImage |
| 1136 | default: '{registry-proxy}/upf-epc-bess:master-latest' |
| 1137 | description: 'Docker image for bess. Leave empty to use default helm-charts value' |
| 1138 | |
| 1139 | - string: |
| 1140 | name: zmqifaceImage |
| 1141 | default: '{registry-proxy}/upf-epc-cpiface:master-latest' |
| 1142 | description: 'Docker image for zmqiface. Leave empty to use default helm-charts value' |
| 1143 | |
| 1144 | - string: |
| 1145 | name: pfcpifaceImage |
| 1146 | default: '{registry-proxy}/upf-epc-pfcpiface:master-latest' |
| 1147 | description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value' |
| 1148 | |
You Wang | 174622a | 2021-01-27 14:57:03 -0800 | [diff] [blame] | 1149 | - string: |
| 1150 | name: maintainers |
| 1151 | default: 'you@opennetworking.org' |
| 1152 | description: "The person that sould be notified if this job fails" |
| 1153 | |
You Wang | f5a8003 | 2021-01-19 09:13:18 -0800 | [diff] [blame] | 1154 | concurrent: false |
| 1155 | |
| 1156 | triggers: |
| 1157 | - timed: | |
| 1158 | TZ=America/Los_Angeles |
| 1159 | H {time} * * * |
| 1160 | |
| 1161 | pipeline-scm: |
| 1162 | script-path: 'Jenkinsfile-omec-nightly.groovy' |
| 1163 | scm: |
| 1164 | - git: |
| 1165 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 1166 | branches: |
| 1167 | - 'master' |
You Wang | 4f14afd | 2021-01-19 13:44:07 -0800 | [diff] [blame] | 1168 | |
| 1169 | # OMEC post results job |
| 1170 | - job-template: |
| 1171 | id: 'omec-post-results' |
| 1172 | name: 'omec_post-results_{pod}' |
| 1173 | project-type: pipeline |
| 1174 | |
| 1175 | description: | |
| 1176 | Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br /> |
| 1177 | |
You Wang | d78fec6 | 2021-02-08 16:07:46 -0800 | [diff] [blame] | 1178 | disabled: true |
| 1179 | |
You Wang | 4f14afd | 2021-01-19 13:44:07 -0800 | [diff] [blame] | 1180 | properties: |
| 1181 | - cord-infra-properties: |
| 1182 | build-days-to-keep: '{build-days-to-keep}' |
| 1183 | artifact-num-to-keep: 2 |
| 1184 | |
| 1185 | wrappers: |
| 1186 | - lf-infra-wrappers: |
| 1187 | build-timeout: '{build-timeout}' |
| 1188 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 1189 | |
| 1190 | parameters: |
| 1191 | - string: |
| 1192 | name: buildNode |
| 1193 | default: '{build-node}' |
| 1194 | description: 'Name of the Jenkins executor node to run the job on' |
| 1195 | |
| 1196 | - string: |
| 1197 | name: pod |
| 1198 | default: '{pod}' |
| 1199 | description: 'Name of OMEC pod' |
| 1200 | |
| 1201 | - string: |
| 1202 | name: testType |
| 1203 | default: 'scale' |
| 1204 | description: 'Type of test e.g. scale, func, etc.' |
| 1205 | |
| 1206 | - string: |
| 1207 | name: buildNumber |
| 1208 | default: '0' |
| 1209 | description: 'Build number of upstream job' |
| 1210 | |
| 1211 | concurrent: false |
| 1212 | |
| 1213 | pipeline-scm: |
| 1214 | script-path: 'Jenkinsfile-omec-post-results.groovy' |
| 1215 | scm: |
| 1216 | - git: |
| 1217 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 1218 | branches: |
| 1219 | - 'master' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 1220 | |
| 1221 | # OMEC CI job which replaces the original container job |
| 1222 | - job-template: |
| 1223 | id: 'omec-container-remote' |
You Wang | 1c91539 | 2021-02-06 15:22:41 -0800 | [diff] [blame] | 1224 | name: 'omec_{project}_container_remote' |
You Wang | d1a5464 | 2021-02-05 15:42:04 -0800 | [diff] [blame] | 1225 | |
| 1226 | description: | |
| 1227 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 1228 | |
| 1229 | properties: |
| 1230 | - cord-infra-properties: |
| 1231 | build-days-to-keep: '{build-days-to-keep}' |
| 1232 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 1233 | - github: |
| 1234 | url: 'https://github.com/{github-organization}/{project}' |
| 1235 | |
| 1236 | wrappers: |
| 1237 | - lf-infra-wrappers: |
| 1238 | build-timeout: '{build-timeout}' |
| 1239 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 1240 | |
| 1241 | parameters: |
| 1242 | - string: |
| 1243 | name: buildNode |
| 1244 | default: 'omec-ci' |
| 1245 | description: 'Name of the Jenkins executor node to run the job on' |
| 1246 | |
| 1247 | - string: |
| 1248 | name: project |
| 1249 | default: '{project}' |
| 1250 | description: 'Name of the project' |
| 1251 | |
| 1252 | - string: |
| 1253 | name: pod |
| 1254 | default: '{pod}' |
| 1255 | description: 'Name of OMEC pod' |
| 1256 | |
| 1257 | - string: |
| 1258 | name: remoteJenkinsName |
| 1259 | default: '{remote-jenkins-name}' |
| 1260 | description: 'Name of the remote Jenkins instance that runs the job' |
| 1261 | |
| 1262 | - string: |
| 1263 | name: ghprbTargetBranch |
| 1264 | default: '$ghprbTargetBranch' |
| 1265 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 1266 | |
| 1267 | - string: |
| 1268 | name: ghprbPullId |
| 1269 | default: '$ghprbPullId' |
| 1270 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 1271 | |
| 1272 | - string: |
| 1273 | name: ghprbActualCommit |
| 1274 | default: '$ghprbActualCommit' |
| 1275 | description: 'GitHub Pull-Request builder value. Replace default value to test manually.' |
| 1276 | |
| 1277 | triggers: |
| 1278 | - cord-infra-github-pr-trigger: |
| 1279 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 1280 | github_pr_auth_id: '{github_pr_auth_id}' |
| 1281 | status_context: 'CORD Jenkins - Container Based Verification' |
| 1282 | |
| 1283 | concurrent: false |
| 1284 | |
| 1285 | project-type: pipeline |
| 1286 | dsl: !include-raw-escape: pipeline/{pipeline-file} |