Release: Checklist¶
docs.voltha.org (repo: voltha-docs)¶
Create release notes
Review core contributors
VOLTHA Repositories (special snowflakes)¶
voltha-helm-charts
voltha-system-tests
Create branch voltha-2.12
Update Chart.yaml in v-h-c to version 2.12
Create tag 2.12.0 on branch voltha-2.12
v-h-c and v-s-t are the only repositories to receive this tag.
VOLTHA Repositories¶
Create release branch voltha-X.YY in each repository.
Update .gitreview, assign defaultbranch=voltha-2.12.
Release Builds¶
components/onos_components
Build and record version for all external VOLTHA dependencies.
Upgrade Maven Plugins listed in pom.xml
Release Notes¶
Capture version information and packages for all builds.
Helm Charts¶
voltha-infra¶
Once dependent packages are built update helm charts: charts/index - Verify by installation
helm upgrade --install --create-namespace -n infra --version 2.8.0 voltha-infra onf/voltha-infra
voltha-stack¶
helm upgrade --install --create-namespace \
-n voltha voltha onf/voltha-stack \
--set global.stack_name=voltha \
--set global.voltha_infra_name=voltha-infra \
--set global.voltha_infra_namespace=infra
Verify DT & TT¶
Misc¶
helm upgrade --install -n voltha bbsim0 onf/bbsim --set olt_id=10
# https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts#deploying-a-different-workflow
kubectl get pods --all-namespaces
Voltha with golang source¶
Review all repositories that contain golang sources. Version(s) of external packages in the vendor/ directory may need to be updated.
Command |
Description |
---|---|
make lint |
syntax check sources |
make lint-dockerfile |
syntax check docker config |
make lint-mod |
syntax check golang dependencies |
Command |
Description |
---|---|
make build |
Build core docker image |
make test |
Requires docker, test local build |
make sca |
Generate a static code analysis report |
Command |
Description |
---|---|
make local-lib-go |
Create a local version of voltha-lib-go beneath vendor/ |
make local-protos |
Create a local version of voltha-protos beneath vendor/ |
make fmt |
Run gofmt on sources |
make mod-update |
Update go mod files |
Review voltha-helm-charts
Release voltha-protos & friends in order¶
https://docs.voltha.org/master/overview/release_process.html?highlight=charts%20yaml