Zack Williams | 98fe232 | 2021-09-20 15:02:11 -0700 | [diff] [blame] | 1 | Release Process |
| 2 | =============== |
| 3 | |
Carmelo Cascone | d9f4916 | 2021-10-07 18:17:20 -0700 | [diff] [blame] | 4 | Release artifacts |
| 5 | ----------------- |
| 6 | There will be 4 major artifacts produced as the result of release process. |
| 7 | |
| 8 | - **SD-Fabric Docker image** - This includes all control plane software |
| 9 | - **Stratum Docker image** - This includes Stratum switch OS |
| 10 | - **SD-Fabric Helm charts** |
| 11 | - **SD-Fabric documentation** - The website you are currently viewing |
| 12 | |
| 13 | Prerequisite |
| 14 | ------------ |
| 15 | SD-Fabric releases are guarded by our system integration tests. |
| 16 | Before each release, we check the test result and make sure we have a "green light". |
| 17 | Visit :ref:`testing_guide` for more details. |
| 18 | |
| 19 | Stratum Docker image |
| 20 | -------------------- |
| 21 | Stratum has its own release process and release timeline. |
| 22 | We request Stratum TST to make a release when necessary. |
| 23 | |
| 24 | SD-Fabric Docker Image |
| 25 | ---------------------- |
| 26 | We tag and release the following repositories in order: |
| 27 | |
| 28 | - onos: |
| 29 | - Run Jenkins release job: https://jenkins.onosproject.org/view/onos-release/job/onos-bazel-release-build/ |
| 30 | - Manually publish artifacts to Maven central: https://oss.sonatype.org/ |
| 31 | |
| 32 | - trellis-control: |
| 33 | - Update ``pom.xml(s)``: |
| 34 | |
| 35 | - Update dependencies (use non-snapshot onos) |
| 36 | - Update version |
| 37 | - Push Gerrit change, merge |
| 38 | - Wait for Jenkins job to publish artifacts (https://jenkins.onosproject.org/view/Trellis/job/maven-publish_trellis-control) |
| 39 | - Manually release artifacts: https://oss.sonatype.org/ |
| 40 | |
| 41 | - fabric-tna: |
| 42 | - Update ``pom.xml``: |
| 43 | |
| 44 | - Update dependencies (use non-snapshot ``onos`` and ``trellis-control``) |
| 45 | - Update version |
| 46 | - Tag repository |
| 47 | |
| 48 | - up4: |
| 49 | - Update ``pom.xml(s)``: |
| 50 | |
| 51 | - Update dependencies (use non-snapshot onos) |
| 52 | - Update version |
| 53 | - Tag repository |
| 54 | |
| 55 | - SD-Fabric image: |
| 56 | - Update Makefile.stable with git tags used above |
| 57 | - Merge, wait for Jenkins to publish stable image |
| 58 | - Manually tag image on harbor |
| 59 | |
| 60 | SD-Fabric Helm charts |
| 61 | --------------------- |
| 62 | The SD-Fabric umbrella chart includes 5 sub-charts: |
| 63 | |
| 64 | - ONOS classic |
| 65 | - Stratum |
| 66 | - PFCP agent |
| 67 | - DBUF |
| 68 | - INT host reporter |
| 69 | |
| 70 | To update each sub-charts: |
| 71 | - Update chart version and default image in each charts |
| 72 | - Post-merge CI job will tag the repositories according to chart version |
| 73 | |
| 74 | To update the umbrella charts: |
| 75 | - Update chart version and dependencies in ``sdfabric-helm-charts/sdfabric/Chart.yaml`` |
| 76 | - Post-merge CI job will tag the repositories according to chart version |
| 77 | |
| 78 | |
| 79 | SD-Fabric documentation |
| 80 | ----------------------- |
| 81 | - Complete release note |
| 82 | - Tag documentation repository for each release |
| 83 | - Branch documentation repository for each major releases |