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