You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 1 | .. |
| 2 | SPDX-FileCopyrightText: © 2021 Open Networking Foundation <support@opennetworking.org> |
| 3 | SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | SD-Core Testing |
| 6 | =============== |
| 7 | |
| 8 | Test Framework |
| 9 | -------------- |
| 10 | |
| 11 | NG40 |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 12 | """" |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 13 | |
| 14 | NG40 tool is used as RAN emulator in SD-Core testing. NG40 runs inside a VM |
| 15 | which is connected to both Aether control plane and data plane. In testing |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 16 | scenarios that involve data plane verification, NG40 also emulates a few |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 17 | application servers which serve as the destinations of data packets. |
| 18 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 19 | A typical NG40 test case involves UE attaching, data plane verification and |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 20 | UE detaching. During the test NG40 acts as UEs and eNBs and talks to the |
| 21 | mobile core to complete attach procedures for each UE it emulates. Then NG40 |
| 22 | verifies that data plane works for each attached UE by sending traffic between |
| 23 | UEs and application servers. Before finishing each test NG40 performs detach |
| 24 | procedures for each attached UE. |
| 25 | |
| 26 | Test cases |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 27 | '''''''''' |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 28 | |
| 29 | Currently the following NG40 test cases are implemented: |
| 30 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 31 | 4G Tests: |
| 32 | |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 33 | 1. ``4G_M2AS_PING_FIX`` (attach, dl ping, detach) |
| 34 | 2. ``4G_M2AS_UDP`` (attach, dl+ul udp traffic, detach) |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 35 | 3. ``4G_M2AS_TCP`` (attach, release, service request, dl+ul tcp traffic, detach) |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 36 | 4. ``4G_AS2M_PAGING`` (attach, release, dl udp traffic, detach) |
| 37 | 5. ``4G_M2AS_SRQ_UDP`` (attach, release, service request, dl+ul udp traffic) |
| 38 | 6. ``4G_M2CN_PS`` (combined IMSI/PTMSI attach, detach) |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 39 | 7. ``4G_HO`` (attach, relocate and dl ping, detach) |
| 40 | 8. ``4G_SCALE`` (attach, dl ping, detach with multiple UEs) |
| 41 | |
| 42 | 5G Tests: |
| 43 | |
| 44 | 1. ``5G_SA_Register_Deregister`` (registration, deregistration) |
| 45 | 2. ``5G_SA_Register`` (registration, session establishment, deregistration) |
| 46 | 3. ``5G_SA_Release`` (registration, session establishment, dl ping, release, deregistration) |
| 47 | 4. ``5G_SA_Activate_Release`` (registration, session establishment, dl ping, release, service request, |
| 48 | dl ping, deregistration) |
| 49 | 5. ``5G_SA_Scale`` (registration, session establishment, dl ping, deregistration for multiple UEs) |
| 50 | 6. ``5G_SA_M2AS_ICMP`` (registration, session establishment, dl ping, deregistration) |
| 51 | 7. ``5G_SA_M2AS_TCP`` (registration, session establishment, dl+ul tcp traffic, deregistration) |
| 52 | 8. ``5G_SA_M2AS_UDP`` (registration, session establishment, dl+ul udp traffic, deregistration) |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 53 | |
| 54 | All the test cases are parameterized and can take arguments to specify number |
| 55 | of UEs, attach/detach rate, traffic type/rate etc. For example, ``4G_SCALE`` |
| 56 | test case can be configured as a mini scalability test which performs only 5 |
| 57 | UE attaches in a patchset pre-merge test, while in the nightly tests it can |
| 58 | take different arguments to run 10K UE attaches with a high attach rate. |
| 59 | |
| 60 | Test suites |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 61 | ''''''''''' |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 62 | |
| 63 | The test cases are atomic testing units and can be combined to build test |
| 64 | suites. The following test suites have been built so far: |
| 65 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 66 | 1. ``functionality test suite`` verifies basic functionality of the |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 67 | mobile core. 4G functionality suite runs 4G test case #1 to #8 including |
| 68 | ``4G_SCALE`` which attaches 5 UEs with 1/s attach rate. 5G functionality |
| 69 | suite runs 5G test case #1 to #8 including ``5G_SA_Scale`` which attaches |
| 70 | 100 UEs with 1/s attach rate. |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 71 | 2. ``scalability test suite`` tests the system by scale and verifies |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 72 | system stability. It runs ``4G_SCALE`` (or ``5G_SA_Scale``) which attaches |
| 73 | a large number of UEs with high attach rate (16k UEs with 100/s rate on 4G |
| 74 | CI pod, 1k UEs with 10/s rate on 4G staging pod, and 1k UEs with 1/s rate |
| 75 | on 5G CI pod). |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 76 | 3. ``performance test suite`` measures performance of the control and |
| 77 | data plane. It runs ``4G_SCALE`` multiple times with different attach rates |
| 78 | to understand how the system performs under different loads. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 79 | |
| 80 | Robot Framework |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 81 | """"""""""""""" |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 82 | |
| 83 | Robot Framework was chosen to build test cases that involve interacting with |
| 84 | not only NG40 but also other parts of the system. In these scenarios Robot |
| 85 | Framework acts as a high level orchestrator which drives various components |
| 86 | of the system using component specific libraries including NG40. |
| 87 | |
| 88 | Currently the ``Integration test suite`` is implemented using Robot |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 89 | Framework. In the integration tests Robot Framework calls the ng40 library to |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 90 | perform normal attach/detach procedures. Meanwhile it injects failures into |
| 91 | the system (container restarts, link down etc.) by calling functions |
| 92 | implemented in the k8s library. |
| 93 | |
| 94 | The following integration tests are implemented at the moment: |
| 95 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 96 | 1. Subscriber Attach with HSS Restart |
| 97 | 2. Subscriber Attach with MME Restart |
| 98 | 3. Subscriber Attach with SPGWC Restart |
| 99 | 4. Subscriber Attach with PFCP Agent Restart |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 100 | |
| 101 | .. Note:: |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 102 | More integration tests are being developed as part of Robot Framework |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 103 | |
| 104 | Test Schedules |
| 105 | -------------- |
| 106 | |
| 107 | Nightly Tests |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 108 | """"""""""""" |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 109 | |
| 110 | SD-Core nightly tests are a set of jobs managed by Aether Jenkins. |
| 111 | All four test suites we mentioned above are scheduled to run nightly. |
| 112 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 113 | 1. ``functionality job (func)`` runs NG40 test cases included in the |
| 114 | functionality suite and verifies all tests pass. |
| 115 | 2. ``scalability job (scale)`` runs the scalability test suite and reports |
| 116 | the number of successful/failed attaches, detaches and pings. |
| 117 | 3. ``performance job (perf)`` runs the performance test suite and reports |
| 118 | SCTP heartbeat RTT, GTP ICMP RTT and call setup latency numbers. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 119 | |
| 120 | And all these jobs can be scheduled on any of the Aether PODs including |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 121 | ``ci-4g`` pod, ``ci-5g`` pod, ``staging`` pod and ``qa`` pod. By combining |
| 122 | the test type and test pod the following Jenkins jobs are generated: |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 123 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 124 | 1. ``ci-4g`` pod: `sdcore_func_ci-4g`, `sdcore_scale_ci-4g`, `sdcore_perf_ci-4g`, `sdcore_integ_ci-4g` |
| 125 | 1. ``ci-5g`` pod: `sdcore_func_ci-5g`, `sdcore_scale_ci-5g` |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 126 | 2. ``staging`` pod: `func_staging`, `scale_staging`, `perf_staging`, `integ_staging` |
| 127 | 3. ``qa`` pod: `func_qa`, `scale_qa`, `perf_qa`, `integ_qa` |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 128 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 129 | Nightly Job structure |
| 130 | """"""""""""""""""""" |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 131 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 132 | Take `sdcore_scale_ci-4g` job as an example. It runs the following downstream jobs: |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 133 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 134 | 1. `omec_deploy_ci-4g`: this job re-deploys the ``ci-4g`` pod with latest OMEC images. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 135 | |
| 136 | .. Note:: |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 137 | only the ``ci-4g`` and ``ci-5g`` pod jobs trigger deployment downstream job. No |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 138 | re-deployment is performed on the staging and qa pod before the tests |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 139 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 140 | 2. `ng40-test_ci-4g`: this job executes the scalability test suite. |
| 141 | 3. `archive-artifacts_ci-4g`: this job collects and uploads k8s and container logs. |
| 142 | 4. `post-results_ci-4g`: this job collects the NG40 test logs/pcaps and pushes the |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 143 | test data to database. It also generates plots using Rscript for func and |
| 144 | scale tests |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 145 | |
| 146 | The integration tests are written using Robot Framework so have a slightly |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 147 | different Jenkins Job structure. Take `sdcore_integ_ci-4g` as an example. It runs the |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 148 | following downstream jobs: |
| 149 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 150 | 1. `omec_deploy_ci-4g`: this job executes the scalability test suite. |
| 151 | 2. `robotframework-test_ci-4g`: this job is similar to `ng40-test_ci-4g` with the |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 152 | exception that instead of directly executing NG40 commands it calls robot |
Zack Williams | 4c1eab9 | 2021-05-28 11:37:14 -0700 | [diff] [blame] | 153 | framework to execute the test cases and publishes the test results using |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 154 | `RobotPublisher` Jenkins plugin. The robot results will also be copied to |
| 155 | the upstream job and published there. |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 156 | 3. `archive-artifacts_ci-4g`: this job collects and uploads k8s and container logs. |
| 157 | 4. `post-results_ci-4g`: this job collects the NG40 test logs/pcaps and pushes the |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 158 | test data to database. It also generates plots using Rscript for func and |
| 159 | scale tests |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 160 | |
| 161 | Patchset Tests |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 162 | -------------- |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 163 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 164 | SD-Core pre-merge verification covers the following public Github repos: ``c3po``, |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 165 | ``Nucleus``, ``upf-epc`` and the following private Github repos: ``spgw``. ``amf``, |
| 166 | ``smf``, ``ausf``, ``nssf``, ``nrf``, ``pcf``, ``udm``, ``udr``, ``webconsole``. |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 167 | SD-Core CI verifies the following: |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 168 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 169 | 1. ONF CLA verification |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 170 | 2. License verification (FOSSA/Reuse) |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 171 | 3. NG40 tests |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 172 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 173 | These jobs are automatically triggered by submitted or updated PR to the repos |
| 174 | above. They can also be triggered manually by commenting ``retest this please`` |
| 175 | to the PR. At this moment only CLI and NG40 verification are mandatory. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 176 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 177 | The NG40 verification are a set of jobs running on both opencord Jenkins and |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 178 | Aether Jenkins (private). The jobs run on opencord Jenkins include |
| 179 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 180 | 1. `omec_c3po_container_remote <https://jenkins.opencord.org/job/omec_c3po_container_remote/>`_ (public) |
| 181 | 2. `omec_Nucleus_container_remote <https://jenkins.opencord.org/job/omec_Nucleus_container_remote/>`_ (public) |
| 182 | 3. `omec_upf-epc_container_remote <https://jenkins.opencord.org/job/omec_upf-epc_container_remote/>`_ (public) |
| 183 | 4. `omec_spgw_container_remote` (private, under member-only folder) |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 184 | |
| 185 | And the jobs run on Aether Jenkins include |
| 186 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 187 | 1. `c3po_premerge_ci-4g` |
| 188 | 2. `Nucleus_premerge_ci-4g` |
| 189 | 3. `upf-epc_premerge_ci-4g` |
| 190 | 4. `spgw_premerge_ci-4g` |
| 191 | 5. `amf_premerge_ci-5g` |
| 192 | 6. `smf_premerge_ci-5g` |
| 193 | 7. `ausf_premerge_ci-5g` |
| 194 | 8. `nssf_premerge_ci-5g` |
| 195 | 9. `nrf_premerge_ci-5g` |
| 196 | 10. `pcf_premerge_ci-5g` |
| 197 | 11. `udm_premerge_ci-5g` |
| 198 | 12. `udr_premerge_ci-5g` |
| 199 | 13. `webconsole_premerge_ci-5g` |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 200 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 201 | Patchset Job structure |
| 202 | """""""""""""""""""""" |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 203 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 204 | Take ``c3po`` jobs as an example. ``c3po`` PR triggers a public job |
| 205 | `omec_c3po_container_remote |
| 206 | <https://jenkins.opencord.org/job/omec_c3po_container_remote/>`_ job running |
| 207 | on opencord Jenkins through Github webhooks, which then triggers a private job |
| 208 | `c3po_premerge_ci-4g` running on Aether Jenkins using a Jenkins plugin called |
| 209 | `Parameterized Remote Trigger Plugin |
| 210 | <https://www.jenkins.io/doc/pipeline/steps/Parameterized-Remote-Trigger/>`_. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 211 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 212 | The private ``c3po`` job runs the following downstream jobs sequentially: |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 213 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 214 | 1. `docker-publish-github_c3po`: this job downloads the ``c3po`` PR, runs docker |
| 215 | build and publishes the ``c3po`` docker images to `Aether registry`. |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 216 | 2. `omec_deploy_ci-4g`: this job deploys the images built from previous job onto |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 217 | the omec ``ci-4g`` pod. |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 218 | 3. `ng40-test_ci-4g`: this job executes the functionality test suite. |
| 219 | 4. `archive-artifacts_ci-4g`: this job collects and uploads k8s and container logs. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 220 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 221 | After all the downstream jobs are finished, the upstream job (`c3po_premerge_ci-4g`) |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 222 | copies artifacts including k8s/container/ng40 logs and pcap files from |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 223 | downstream jobs and saves them as Jenkins job artifacts. |
| 224 | |
| 225 | These artifacts are also copied to and published by the public job |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 226 | (`omec_c3po_container_remote <https://jenkins.opencord.org/job/omec_c3po_container_remote/>`_) |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 227 | on opencord Jenkins so that they can be accessed by the OMEC community. |
| 228 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 229 | Pre-merge jobs for other SD-Core repos share the same structure. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 230 | |
| 231 | Post-merge |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 232 | """""""""" |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 233 | |
| 234 | The following jobs are triggered as post-merge jobs when PRs are merged to |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 235 | SD-Core repos: |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 236 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 237 | 1. `docker-publish-github-merge_c3po` |
| 238 | 2. `docker-publish-github-merge_Nucleus` |
| 239 | 3. `docker-publish-github-merge_upf-epc` |
| 240 | 4. `docker-publish-github-merge_spgw` |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 241 | 5. `docker-publish-github-merge_amf` |
| 242 | 6. `docker-publish-github-merge_smf` |
| 243 | 7. `docker-publish-github-merge_ausf` |
| 244 | 8. `docker-publish-github-merge_nssf` |
| 245 | 9. `docker-publish-github-merge_nrf` |
| 246 | 10. `docker-publish-github-merge_pcf` |
| 247 | 11. `docker-publish-github-merge_udm` |
| 248 | 12. `docker-publish-github-merge_udr` |
| 249 | 13. `docker-publish-github-merge_webconsole` |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 250 | |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 251 | Again take the ``c3po`` job as an example. The post-merge job (`docker-publish-github-merge_c3po`) |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 252 | runs the following downstream jobs sequentially: |
| 253 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 254 | 1. `docker-publish-github_c3po`: this is the same job as the one in pre-merge |
Zack Williams | 1ae109e | 2021-07-27 11:17:04 -0700 | [diff] [blame^] | 255 | section. It checks out the latest ``c3po`` code, runs docker build and |
| 256 | publishes the ``c3po`` docker images to `docker hub <https://hub.docker.com/u/omecproject>`__. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 257 | |
| 258 | .. Note:: |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 259 | the images for private repos are published to Aether registry instead of docker hub |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 260 | |
You Wang | aa55885 | 2021-04-15 15:41:54 -0700 | [diff] [blame] | 261 | 2. `c3po_postrelease`: this job submits a patchset to aether-pod-configs repo |
| 262 | for updating the CD pipeline with images published in the job above. |
You Wang | ee3a4db | 2021-04-13 18:50:40 -0700 | [diff] [blame] | 263 | |
You Wang | aeb9c11 | 2021-08-03 11:45:27 -0700 | [diff] [blame] | 264 | Post-merge jobs for other SD-Core repos share the same structure. |