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
28 Enable Exclusive checkbox
30 - Export ${RELEASE} and ${BUILDNUM} with current release name and build number.
34 export RELEASE=Beryllium-SR4
35 export BRANCH=${RELEASE//-*}
38 - Nexus: click release for staging repo **(Helpdesk)**
39 - Nexus: click release for gpgsign repo (created above in Preparations) **(Helpdesk)**
40 - Send email to Helpdesk with binary URL to update website **(Helpdesk)**
41 - Send email to TSC and Release mailing lists announcing release binaries location **(Release Engineering Team)**
42 - Clone autorelease repository. **(Release Engineering Team)**
46 git clone --recursive https://git.opendaylight.org/gerrit/releng/autorelease
48 - Checkout autorelease and switch to release branch eg stable/carbon **(Release Engineering Team)**
52 git checkout -b stable/${BRANCH,,} origin/stable/${BRANCH,,}
53 git submodule update --init
54 git submodule foreach git checkout -b stable/${BRANCH,,} origin/stable/${BRANCH,,}
56 - Make sure your git repo is setup to push (use git-review)
61 git submodule foreach 'git review -s'
63 - Download patches (\*.bundle files and taglist.log.gz) from log server.
67 mkdir /tmp/patches && cd /tmp/patches
68 wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/all-bundles.tar.gz
69 gunzip all-bundles.tar.gz
70 wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/patches/taglist.log.gz
73 - Run the following commands for every project in the release, to apply patches to each project directory.
78 lftools version patch ${RELEASE}
79 git review -y -t ${RELEASE}
80 git push gerrit release/${RELEASE,,}
82 - Merge all patches on gerrit in the order generated by merge-order.log
88 git checkout `cat /tmp/patches/taglist.log | grep autorelease | awk '{print $2}'`
89 git submodule foreach git checkout release/${RELEASE,,}
90 git commit -asSm "Release ${RELEASE}"
91 git tag -asm "OpenDaylight ${RELEASE} release" release/${RELEASE,,}
92 git push gerrit release/${RELEASE,,}
94 - Re-enable submit permissions for registered users and disable elevated RE committer rights on gerrit.
96 - Generate release notes (???)
98 - Send email to release/tsc/dev notifying tagging and version bump complete **(Release Engineering Team)**