blob: 5b155f7821077ebb7e1fb70707820efe5ee26dbd [file] [log] [blame]
Zack Williams98fe2322021-09-20 15:02:11 -07001Release Process
2===============
3
Carmelo Casconed9f49162021-10-07 18:17:20 -07004Release artifacts
5-----------------
6There will be 4 major artifacts produced as the result of release process.
7
8- **SD-Fabric Docker image** - This includes all control plane software
9- **Stratum Docker image** - This includes Stratum switch OS
10- **SD-Fabric Helm charts**
11- **SD-Fabric documentation** - The website you are currently viewing
12
13Prerequisite
14------------
15SD-Fabric releases are guarded by our system integration tests.
16Before each release, we check the test result and make sure we have a "green light".
17Visit :ref:`testing_guide` for more details.
18
19Stratum Docker image
20--------------------
21Stratum has its own release process and release timeline.
22We request Stratum TST to make a release when necessary.
23
24SD-Fabric Docker Image
25----------------------
26We tag and release the following repositories in order:
27
28- onos:
29 - Run Jenkins release job: https://jenkins.onosproject.org/view/onos-release/job/onos-bazel-release-build/
30 - Manually publish artifacts to Maven central: https://oss.sonatype.org/
31
32- trellis-control:
33 - Update ``pom.xml(s)``:
34
35 - Update dependencies (use non-snapshot onos)
36 - Update version
37 - Push Gerrit change, merge
38 - Wait for Jenkins job to publish artifacts (https://jenkins.onosproject.org/view/Trellis/job/maven-publish_trellis-control)
39 - Manually release artifacts: https://oss.sonatype.org/
40
41- fabric-tna:
42 - Update ``pom.xml``:
43
44 - Update dependencies (use non-snapshot ``onos`` and ``trellis-control``)
45 - Update version
46 - Tag repository
47
48- up4:
49 - Update ``pom.xml(s)``:
50
51 - Update dependencies (use non-snapshot onos)
52 - Update version
53 - Tag repository
54
55- SD-Fabric image:
56 - Update Makefile.stable with git tags used above
57 - Merge, wait for Jenkins to publish stable image
58 - Manually tag image on harbor
59
60SD-Fabric Helm charts
61---------------------
62The SD-Fabric umbrella chart includes 5 sub-charts:
63
64 - ONOS classic
65 - Stratum
66 - PFCP agent
67 - DBUF
68 - INT host reporter
69
70To update each sub-charts:
71 - Update chart version and default image in each charts
72 - Post-merge CI job will tag the repositories according to chart version
73
74To update the umbrella charts:
75 - Update chart version and dependencies in ``sdfabric-helm-charts/sdfabric/Chart.yaml``
76 - Post-merge CI job will tag the repositories according to chart version
77
78
79SD-Fabric documentation
80-----------------------
81- Complete release note
82- Tag documentation repository for each release
83- Branch documentation repository for each major releases