blob: 474a5b516cb1dd4a0a7ede7e5b56f25278011c6e [file] [log] [blame]
Joey Armstrong9a771062023-06-03 23:57:43 -04001Release: Checklist
2==================
3
4docs.voltha.org (repo: voltha-docs)
5-----------------------------------
6
7- Create release notes
8- Review core contributors
9
Joey Armstrong449ce7a2023-07-18 18:32:24 -040010VOLTHA 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 Armstrong9a771062023-06-03 23:57:43 -040024VOLTHA 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
30Release 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
38Packages
39--------
Joey Armstrong4f93b762023-06-06 08:36:02 -040040
Joey Armstrong9a771062023-06-03 23:57:43 -040041- Package `aaa <https://gerrit.opencord.org/c/aaa/+/33599>`_
Joey Armstrong4f93b762023-06-06 08:36:02 -040042
Joey Armstrong9a771062023-06-03 23:57:43 -040043 - Versions
Joey Armstrong4f93b762023-06-06 08:36:02 -040044
Joey Armstrong83135fb2023-06-04 00:48:14 -040045 - New 2.10.3
46 - Old 2.9.0
Joey Armstrong4f93b762023-06-06 08:36:02 -040047
Joey Armstrong9a771062023-06-03 23:57:43 -040048 - DEPS: sadis
49
50- Package `sadis <https://gerrit.opencord.org/plugins/gitiles/sadis/>`_
Joey Armstrong4f93b762023-06-06 08:36:02 -040051
Joey Armstrong9a771062023-06-03 23:57:43 -040052 - Versions
Joey Armstrong4f93b762023-06-06 08:36:02 -040053
Joey Armstrong83135fb2023-06-04 00:48:14 -040054 - `New: 5.11.1-SNAPSHOT <https://gerrit.opencord.org/plugins/gitiles/sadis/+/refs/heads/master/pom.xml#30>`_
Joey Armstrong9a771062023-06-03 23:57:43 -040055 - `Old: (5.10.0) <https://central.sonatype.com/artifact/org.opencord/sadis/5.10.0?smo=true>`_
Joey Armstrong4f93b762023-06-06 08:36:02 -040056
Joey Armstrong83135fb2023-06-04 00:48:14 -040057 - 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 Armstrong9a771062023-06-03 23:57:43 -040062 - DEPS:
Joey Armstrong4f93b762023-06-06 08:36:02 -040063
Joey Armstrong9a771062023-06-03 23:57:43 -040064Release Notes
65-------------
66
67- Capture version information and packages for all builds.
Joey Armstrong83135fb2023-06-04 00:48:14 -040068
69Helm Charts
70-----------
71
Joey Armstrong56ebc232023-06-29 18:58:29 -040072voltha-infra
73^^^^^^^^^^^^
74
Joey Armstrong83135fb2023-06-04 00:48:14 -040075Once dependent packages are built update helm charts: charts/index
Joey Armstrong56ebc232023-06-29 18:58:29 -040076- 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
82voltha-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
93Verify DT & TT
94^^^^^^^^^^^^^^
95
96`deploying-a-different-workflow <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts#deploying-a-different-workflow>`_
97
98Update
99https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts/+/refs/heads/master/voltha-stack/Chart.yaml
100
101
102Misc
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 Armstrongb1498d72023-06-13 10:46:57 -0400112
113Voltha with golang source
114-------------------------
115
116Review all repositories that contain golang sources.
117Version(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 Armstrong45fe8052023-06-23 09:51:02 -0400169
170Review `voltha-helm-charts <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts>`_
Joey Armstrong56ebc232023-06-29 18:58:29 -0400171
172Release voltha-protos & friends in order
173----------------------------------------
174https://docs.voltha.org/master/overview/release_process.html?highlight=charts%20yaml
Joey Armstronga144ef32024-01-11 11:26:41 -0500175
176EOF
177---