Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 1 | Release: Checklist |
| 2 | ================== |
| 3 | |
| 4 | docs.voltha.org (repo: voltha-docs) |
| 5 | ----------------------------------- |
| 6 | |
| 7 | - Create release notes |
| 8 | - Review core contributors |
| 9 | |
Joey Armstrong | 449ce7a | 2023-07-18 18:32:24 -0400 | [diff] [blame] | 10 | VOLTHA Repositories (special snowflakes) |
| 11 | ---------------------------------------- |
| 12 | |
| 13 | - voltha-helm-charts |
| 14 | - voltha-system-tests |
| 15 | |
| 16 | - Create branch voltha-2.12 |
| 17 | - Update Chart.yaml in v-h-c to version 2.12 |
| 18 | - Create tag 2.12.0 on branch voltha-2.12 |
| 19 | |
| 20 | - v-h-c and v-s-t are the only repositories to receive this tag. |
| 21 | - `creating-initial-release <https://docs.voltha.org/master/release_notes/release_process.html#creating-the-initial-release>`_ |
| 22 | |
| 23 | |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 24 | VOLTHA Repositories |
| 25 | ------------------- |
| 26 | |
| 27 | - Create release branch voltha-X.YY in each repository. |
| 28 | - Update .gitreview, assign `defaultbranch=voltha-2.12 <https://gerrit.opencord.org/c/pod-configs/+/33941/2/.gitreview>`_. |
| 29 | |
| 30 | Release Builds |
| 31 | -------------- |
| 32 | |
| 33 | - components/onos_components |
| 34 | - Build and record version for all external VOLTHA dependencies. |
| 35 | - `VOL-4925 <https://jira.opencord.org/browse/VOL-4925>`_. |
| 36 | - Upgrade Maven Plugins listed in pom.xml |
| 37 | |
| 38 | Packages |
| 39 | -------- |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 40 | |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 41 | - Package `aaa <https://gerrit.opencord.org/c/aaa/+/33599>`_ |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 42 | |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 43 | - Versions |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 44 | |
Joey Armstrong | 83135fb | 2023-06-04 00:48:14 -0400 | [diff] [blame] | 45 | - New 2.10.3 |
| 46 | - Old 2.9.0 |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 47 | |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 48 | - DEPS: sadis |
| 49 | |
| 50 | - Package `sadis <https://gerrit.opencord.org/plugins/gitiles/sadis/>`_ |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 51 | |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 52 | - Versions |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 53 | |
Joey Armstrong | 83135fb | 2023-06-04 00:48:14 -0400 | [diff] [blame] | 54 | - `New: 5.11.1-SNAPSHOT <https://gerrit.opencord.org/plugins/gitiles/sadis/+/refs/heads/master/pom.xml#30>`_ |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 55 | - `Old: (5.10.0) <https://central.sonatype.com/artifact/org.opencord/sadis/5.10.0?smo=true>`_ |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 56 | |
Joey Armstrong | 83135fb | 2023-06-04 00:48:14 -0400 | [diff] [blame] | 57 | - VCS |
| 58 | |
| 59 | - `gerrit <https://gerrit.opencord.org/plugins/gitiles/sadis/+/refs/tags/5.11.0>`_ |
| 60 | - `github <https://github.com/opencord/sadis/tree/5.10.0>`_ |
| 61 | |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 62 | - DEPS: |
Joey Armstrong | 4f93b76 | 2023-06-06 08:36:02 -0400 | [diff] [blame] | 63 | |
Joey Armstrong | 9a77106 | 2023-06-03 23:57:43 -0400 | [diff] [blame] | 64 | Release Notes |
| 65 | ------------- |
| 66 | |
| 67 | - Capture version information and packages for all builds. |
Joey Armstrong | 83135fb | 2023-06-04 00:48:14 -0400 | [diff] [blame] | 68 | |
| 69 | Helm Charts |
| 70 | ----------- |
| 71 | |
Joey Armstrong | 56ebc23 | 2023-06-29 18:58:29 -0400 | [diff] [blame] | 72 | voltha-infra |
| 73 | ^^^^^^^^^^^^ |
| 74 | |
Joey Armstrong | 83135fb | 2023-06-04 00:48:14 -0400 | [diff] [blame] | 75 | Once dependent packages are built update helm charts: charts/index |
Joey Armstrong | 56ebc23 | 2023-06-29 18:58:29 -0400 | [diff] [blame] | 76 | - Verify by `installation <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts>`_ |
| 77 | |
| 78 | .. code:: bash |
| 79 | |
| 80 | helm upgrade --install --create-namespace -n infra --version 2.8.0 voltha-infra onf/voltha-infra |
| 81 | |
| 82 | voltha-stack |
| 83 | ^^^^^^^^^^^^ |
| 84 | |
| 85 | .. code:: bash |
| 86 | |
| 87 | helm upgrade --install --create-namespace \ |
| 88 | -n voltha voltha onf/voltha-stack \ |
| 89 | --set global.stack_name=voltha \ |
| 90 | --set global.voltha_infra_name=voltha-infra \ |
| 91 | --set global.voltha_infra_namespace=infra |
| 92 | |
| 93 | Verify DT & TT |
| 94 | ^^^^^^^^^^^^^^ |
| 95 | |
| 96 | `deploying-a-different-workflow <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts#deploying-a-different-workflow>`_ |
| 97 | |
| 98 | Update |
| 99 | https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts/+/refs/heads/master/voltha-stack/Chart.yaml |
| 100 | |
| 101 | |
| 102 | Misc |
| 103 | ^^^^ |
| 104 | |
| 105 | .. code:: bash |
| 106 | |
| 107 | helm upgrade --install -n voltha bbsim0 onf/bbsim --set olt_id=10 |
| 108 | |
| 109 | # https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts#deploying-a-different-workflow |
| 110 | kubectl get pods --all-namespaces |
| 111 | |
Joey Armstrong | b1498d7 | 2023-06-13 10:46:57 -0400 | [diff] [blame] | 112 | |
| 113 | Voltha with golang source |
| 114 | ------------------------- |
| 115 | |
| 116 | Review all repositories that contain golang sources. |
| 117 | Version(s) of external packages in the vendor/ directory may need to be updated. |
| 118 | |
| 119 | .. code-block: shell-session |
| 120 | :linenos: |
| 121 | :hilight: 2, 4 |
| 122 | |
| 123 | # Clone repo:voltha-go |
| 124 | git clone ssh://gerrit.opencord.org:29418/voltha-go.git |
| 125 | |
| 126 | cd voltha-go |
| 127 | make help |
| 128 | |
| 129 | .. list-table:: make targets |
| 130 | :header-rows: 1 |
| 131 | :widths: 20,50 |
| 132 | |
| 133 | * - Command |
| 134 | - Description |
| 135 | * - make lint |
| 136 | - syntax check sources |
| 137 | * - make lint-dockerfile |
| 138 | - syntax check docker config |
| 139 | * - make lint-mod |
| 140 | - syntax check golang dependencies |
| 141 | |
| 142 | .. list-table:: build & test targets |
| 143 | :header-rows: 1 |
| 144 | :widths: 20,50 |
| 145 | |
| 146 | * - Command |
| 147 | - Description |
| 148 | * - make build |
| 149 | - Build core docker image |
| 150 | * - make test |
| 151 | - Requires docker, test local build |
| 152 | * - make sca |
| 153 | - Generate a static code analysis report |
| 154 | |
| 155 | .. list-table:: Developer targets |
| 156 | :header-rows: 1 |
| 157 | :widths: 20,50 |
| 158 | |
| 159 | * - Command |
| 160 | - Description |
| 161 | * - make local-lib-go |
| 162 | - Create a local version of voltha-lib-go beneath vendor/ |
| 163 | * - make local-protos |
| 164 | - Create a local version of voltha-protos beneath vendor/ |
| 165 | * - make fmt |
| 166 | - Run gofmt on sources |
| 167 | * - make mod-update |
| 168 | - Update go mod files |
Joey Armstrong | 45fe805 | 2023-06-23 09:51:02 -0400 | [diff] [blame] | 169 | |
| 170 | Review `voltha-helm-charts <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts>`_ |
Joey Armstrong | 56ebc23 | 2023-06-29 18:58:29 -0400 | [diff] [blame] | 171 | |
| 172 | Release voltha-protos & friends in order |
| 173 | ---------------------------------------- |
| 174 | https://docs.voltha.org/master/overview/release_process.html?highlight=charts%20yaml |
Joey Armstrong | a144ef3 | 2024-01-11 11:26:41 -0500 | [diff] [blame] | 175 | |
| 176 | EOF |
| 177 | --- |