5 This page explains how the OpenDaylight release process works once the TSC has
11 After release candidate is built gpg sign artifacts using odlsign-bulk script in
12 **releng/builder/scripts**.
17 ./odlsign-bulk <staging-repo-id> # eg. autorelease-1367
19 Releasing OpenDaylight
20 ======================
22 - Block submit permissions for registered users and elevate RE's committer rights on gerrit.
24 .. figure:: images/gerrit-update-committer-rights.png
26 - Nexus: click release for staging repo **(Helpdesk)**
27 - Nexus: click release for gpgsign repo (created above in Preparations) **(Helpdesk)**
28 - Send email to Helpdesk with binary URL to update website **(Helpdesk)**
29 - Send email to TSC and Release mailing lists announcing release binaries location **(Release Engineering Team)**
30 - Checkout autorelease and switch to release branch eg stable/carbon
31 **(Release Engineering Team)**
35 git checkout -b stable/carbon origin/stable/carbon
37 git submodule foreach 'git checkout -b stable/carbon origin/stable/carbon || true'
40 - Make sure your git repo is setup to push (use git-review)
44 git submodule foreach 'git review -s'
46 - Download patches (*.bundle files and taglist.log.gz) from Jenkins build page.
50 mkdir /tmp/patches && cd /tmp/patches
51 wget -r -A .bundle --accept-regex ".*\.bundle" https://logs.opendaylight.org/releng/jenkins092/autorelease-release-carbon/252/archives/patches/
52 wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-carbon/252/archives/patches/taglist.log.gz
55 - Run the following commands for every project in the release, to apply patches to each project directory.
59 ../scripts/patch-odl-release.sh /tmp/patches Carbon
60 git review -y -t Carbon
61 git push gerrit release/carbon
63 - Merge all patches on gerrit in the order generated by merge-order.log
69 git checkout `cat /tmp/patches/taglist.log | grep autorelease | awk '{print $2}'`
70 git submodule foreach git checkout release/carbon
71 git add [add each project individually to not pull in extra]
72 git commit -asSm "Release carbon"
73 git tag -asm "OpenDaylight Carbon release" release/carbon
74 git review -y -t Carbon
75 git push gerrit release/carbon
77 - Re-enable submit permissions for registered users and disable elevated RE committer rights on gerrit.
79 - Generate release notes (???)
80 - Send email to release/tsc/dev notifying tagging and version bump complete **(Release Engineering Team)**