blob: 206ac9d1f8d3d65eff6983af343833cfa0775109 [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
10VOLTHA 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
16Release 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
24Packages
25--------
Joey Armstrong4f93b762023-06-06 08:36:02 -040026
Joey Armstrong9a771062023-06-03 23:57:43 -040027- Package `aaa <https://gerrit.opencord.org/c/aaa/+/33599>`_
Joey Armstrong4f93b762023-06-06 08:36:02 -040028
Joey Armstrong9a771062023-06-03 23:57:43 -040029 - Versions
Joey Armstrong4f93b762023-06-06 08:36:02 -040030
Joey Armstrong83135fb2023-06-04 00:48:14 -040031 - New 2.10.3
32 - Old 2.9.0
Joey Armstrong4f93b762023-06-06 08:36:02 -040033
Joey Armstrong9a771062023-06-03 23:57:43 -040034 - DEPS: sadis
35
36- Package `sadis <https://gerrit.opencord.org/plugins/gitiles/sadis/>`_
Joey Armstrong4f93b762023-06-06 08:36:02 -040037
Joey Armstrong9a771062023-06-03 23:57:43 -040038 - Versions
Joey Armstrong4f93b762023-06-06 08:36:02 -040039
Joey Armstrong83135fb2023-06-04 00:48:14 -040040 - `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 -040041 - `Old: (5.10.0) <https://central.sonatype.com/artifact/org.opencord/sadis/5.10.0?smo=true>`_
Joey Armstrong4f93b762023-06-06 08:36:02 -040042
Joey Armstrong83135fb2023-06-04 00:48:14 -040043 - 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 Armstrong9a771062023-06-03 23:57:43 -040048 - DEPS:
Joey Armstrong4f93b762023-06-06 08:36:02 -040049
Joey Armstrong9a771062023-06-03 23:57:43 -040050Release Notes
51-------------
52
53- Capture version information and packages for all builds.
Joey Armstrong83135fb2023-06-04 00:48:14 -040054
55Helm Charts
56-----------
57
Joey Armstrong56ebc232023-06-29 18:58:29 -040058voltha-infra
59^^^^^^^^^^^^
60
Joey Armstrong83135fb2023-06-04 00:48:14 -040061Once dependent packages are built update helm charts: charts/index
Joey Armstrong56ebc232023-06-29 18:58:29 -040062- 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
68voltha-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
79Verify DT & TT
80^^^^^^^^^^^^^^
81
82`deploying-a-different-workflow <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts#deploying-a-different-workflow>`_
83
84Update
85https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts/+/refs/heads/master/voltha-stack/Chart.yaml
86
87
88Misc
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 Armstrongb1498d72023-06-13 10:46:57 -040098
99Voltha with golang source
100-------------------------
101
102Review all repositories that contain golang sources.
103Version(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 Armstrong45fe8052023-06-23 09:51:02 -0400155
156Review `voltha-helm-charts <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts>`_
Joey Armstrong56ebc232023-06-29 18:58:29 -0400157
158Release voltha-protos & friends in order
159----------------------------------------
160https://docs.voltha.org/master/overview/release_process.html?highlight=charts%20yaml