Update release docs for Carbon
[docs.git] / docs / release-process / simultaneous-release.rst
1 ********************
2 Simultaneous Release
3 ********************
4
5 This page explains how the OpenDaylight release process works once the TSC has
6 approved a release.
7
8 Preparations
9 ============
10
11 After release candidate is built gpg sign artifacts using odlsign-bulk script in
12 **releng/builder/scripts**.
13
14 .. code-block:: bash
15
16     cd scripts/
17     ./odlsign-bulk <staging-repo-id>  # eg. autorelease-1367
18
19 Releasing OpenDaylight
20 ======================
21
22 - Nexus: click release for staging repo **(Helpdesk)**
23 - Nexus: click release for gpgsign repo (created above in Preparations) **(Helpdesk)**
24 - Send email to Helpdesk with binary URL to update website **(Helpdesk)**
25 - Send email to TSC and Release mailing lists announcing release binaries location **(Release Engineering Team)**
26 - Checkout autorelease and switch to release branch eg stable/carbon
27   **(Release Engineering Team)**
28 - Make sure your git repo is setup to push (use git-review)
29
30     .. code-block:: bash
31
32         git review -s
33
34 - Download patches from Jenkins build page
35
36     .. code-block:: bash
37
38         cd /tmp
39         wget https://jenkins.opendaylight.org/releng/view/autorelease/job/autorelease-release-boron/230/artifact/patches/*zip*/patches.zip
40         unzip patches.zip
41
42 - Run the following commands for every project in the release
43
44     .. code-block:: bash
45
46         ../scripts/patch-odl-release.sh /tmp/patches Carbon
47         git review -y -t Carbon
48         git push gerrit release/carbon
49
50 - Tag autorelease too
51
52     .. code-block:: bash
53
54         git submodule foreach git checkout release/carbon
55         git add [add each project individually to not pull in extra]
56         git commit -sm "Release Carbon"
57         git tag -asm "OpenDaylight Carbon release" release/carbon
58         git review -y -t Carbon
59         git push gerrit release/carbon
60
61 - Generate release notes (???)
62 - Send email to release/tsc/dev notifying tagging and version bump complete **(Release Engineering Team)**