Jump to: navigation, search

Difference between revisions of "StableBranchRelease"

(Rinse, Repeat: - strikeout released point releases)
(stable-maint groups are now per project, update stable release subteam)
Line 2: Line 2:
 
= Stable Branch Releases =
 
= Stable Branch Releases =
  
The [https://review.openstack.org/#/admin/groups/120,members openstack-stable-maint] team rigorously applies the documented [[StableBranch]] principles and works hard to include appropriate bugfixes from master on the stable branch while limiting the risk of regressions. The intention is for releases published from the stable branch to be a safe source of fixes for high-impact user-visible issues.
+
The [https://review.openstack.org/#/admin/groups/?filter=stable-maint stable maintenance] teams rigorously apply the documented [[StableBranch]] principles and work hard to include appropriate bugfixes from master on the stable branches while limiting the risk of regressions. The intention is for releases published from the stable branches to be a safe source of fixes for high-impact user-visible issues.
  
The [[ReleaseTeam]] is responsible for all [[OpenStack]] release deliveries and [https://launchpad.net/~apevec apevec] and [https://launchpad.net/~gandelman-a adam_g] coordinate releases from the stable branch. Stable branch releases are expected roughly every 8 weeks, depending on how many fixes are queued up.
+
The [[ReleaseTeam]] is responsible for all [[OpenStack]] release deliveries and [https://launchpad.net/~gandelman-a adam_g] [https://launchpad.net/~apevec apevec] [http://launchpad.net/~zulcss zulcss] coordinate releases from the stable branch.
  
 
You can see a history of these releases on the [[Releases]] page.
 
You can see a history of these releases on the [[Releases]] page.

Revision as of 07:46, 6 May 2015

Stable Branch Releases

The stable maintenance teams rigorously apply the documented StableBranch principles and work hard to include appropriate bugfixes from master on the stable branches while limiting the risk of regressions. The intention is for releases published from the stable branches to be a safe source of fixes for high-impact user-visible issues.

The ReleaseTeam is responsible for all OpenStack release deliveries and adam_g apevec zulcss coordinate releases from the stable branch.

You can see a history of these releases on the Releases page.

How To Release

Below is the checklist of steps required to carry out this release, heavily based on ReleaseTeam/HowToRelease.

Versioning

Make sure the current versioning on the stable branch of each project is correct - e.g. the version in setup.cfg is the same as the version you intend to release.

Tarballs

Make sure the tarballs job in Jenkins is building tarballs correctly for each project e.g. check here for Nova Icehouse that a tarball is being built from the stable branch each time a commit is pushed there.

Warn People

Discuss your plans for the release at the weekly project meeting.

Preferably set a date for the release immediately after the previous release.

Milestones

Create a launchpad milestone for each project for the version you're planning to release.

Bugs

Note: only project drivers can target bugs to a series so the release manager needs to find bugs tagged with in-stable-icehouse and target them.

  1. Gather a list of bugs fixed since the previous release e.g.
    $> git log --no-merges --topo-order 2014.1.1.. | grep -i '\(bug\|lp\)[: #]*' | sed 's/.*\(1[0-9][0-9][0-9][0-9][0-9][0-9]\).*/\1/' > nova-bugs.txt
  2. Using scripts from http://github.com/markmc/openstack-lp-scripts sanity check the list of bugs. Check that each has had a patch proposed to the stable branch
    $> python showbugs.py $(cat nova-bugs.txt)
  3. Nominate those bugs for the series
    $> python nominate.py nova icehouse $(cat nova-bugs.txt)
  4. Target those bugs at the milestone
    $> python target.py nova icehouse 2014.1.2 $(cat nova-bugs.txt)
  5. Review the list of bugs targeted to the milestone and fixup Importance and Assignee fields e.g. https://bugs.launchpad.net/nova/+milestone/2014.1.1
  6. Review bugs tagged with in-stable-icehouse and target them appropriately if they haven't already been targeted. Don't forget to remove the tag. e.g. a query for nova
  7. Review bugs tagged with icehouse-backport-potential, untag fixes already backported and consider backporting important ones. e.g. a query for nova.
  8. Check to see if any bugs were nominated for the series
  9. Look at open reviews and make sure the corresponding bugs are targeted. e.g. query for nova.

Call For Testing

Call for testing, see this example

Tag

  1. Tag the release:
$> git fetch gerrit
$> git tag -m 2014.1.2 -s 2014.1.2 gerrit/stable/icehouse
$> git push gerrit tag 2014.1.2

Close bugs

  1. Using http://github.com/markmc/openstack-lp-scripts mark all FixCommitted bugs as FixReleased. With a small change:
+series = proj.getSeries(name='icehouse')
+bugtasks = series.searchTasks(status='Fix Committed', omit_targeted=False)

we can use process-fixcommitted-bugs.py:

$> python ./process-fixcommitted-bugs.py --onlymilestone 2014.1.2 --fixrelease nova

NB: script might fail updating bugs with lots of tasks e.g. bug 1251757 - skip them using optional "exceptions" parameters e.g.

$> python ./process-fixcommitted-bugs.py --onlymilestone 2013.2.1 --fixrelease nova 1257293 1251757

Upload The Release

Using http://github.com/openstack-infra/release-tools

  1. Upload the release:
$> python ./upload_release.py nova 2014.1.2

Docs

  1. Update SecurityAdvisories/Icehouse
  2. Write release notes like ReleaseNotes/2014.1.1
  3. Send release announcement like StableBranchRelease/BoilerPlateAnnounce.
  4. Update Releases

Rinse, Repeat

  1. Bump version in setup.cfg e.g. https://review.openstack.org/#/q/I3a7170180717bd62fce4cbc2c3a9107187f89fb1,n,z
  2. Decide on date for next release, create milestones

Planned stable/icehouse releases

2014.1.4   Mar 10 2015, release manager: apevec

2014.1.5 - last planned, July 2015

Planned stable/juno releases

2014.2.1  Dec 4 2014, release manager: apevec
2014.2.2  Feb 5 2015, release manager: zulcss
2014.2.3  Apr 9 2015, release manager: adam_g

2014.2.4 and later - TBD at Summit session in May 2015