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 - Export ${RELEASE} and ${BUILDNUM} with current release name and build number.
30 export RELEASE=Beryllium-SR4
31 export BRANCH=${RELEASE//-*}
34 - Nexus: click release for staging repo **(Helpdesk)**
35 - Nexus: click release for gpgsign repo (created above in Preparations) **(Helpdesk)**
36 - Send email to Helpdesk with binary URL to update website **(Helpdesk)**
37 - Send email to TSC and Release mailing lists announcing release binaries location **(Release Engineering Team)**
38 - Checkout autorelease and switch to release branch eg stable/carbon **(Release Engineering Team)**
42 git checkout -b stable/${BRANCH,,} origin/stable/${BRANCH,,}
43 git submodule update --init
44 git submodule foreach git checkout stable/${BRANCH,,} origin/stable/${BRANCH,,}
46 - Make sure your git repo is setup to push (use git-review)
50 git submodule foreach 'git review -s'
52 - Download patches (*.bundle files and taglist.log.gz) from log server.
56 mkdir /tmp/patches && cd /tmp/patches
57 wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/all-bundles.tar.gz
58 gunzip all-bundles.tar.gz
59 wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/patches/taglist.log.gz
62 - Run the following commands for every project in the release, to apply patches to each project directory.
66 ../scripts/patch-odl-release.sh /tmp/patches ${RELEASE}
67 git review -y -t ${RELEASE}
68 git push gerrit release/${RELEASE,,}
70 - Merge all patches on gerrit in the order generated by merge-order.log
76 git checkout `cat /tmp/patches/taglist.log | grep autorelease | awk '{print $2}'`
77 git submodule foreach git checkout release/${RELEASE,,}
78 git commit -asSm "Release ${RELEASE}"
79 git tag -asm "OpenDaylight ${RELEASE} release" release/${RELEASE,,}
80 git push gerrit release/${RELEASE,,}
82 - Re-enable submit permissions for registered users and disable elevated RE committer rights on gerrit.
84 - Generate release notes (???)
86 - Send email to release/tsc/dev notifying tagging and version bump complete **(Release Engineering Team)**