Jump to: navigation, search

Difference between revisions of "Nova/Client Release Process"

Line 7: Line 7:
 
** NOTE(mriedem): If you don't see the 'Create milestone' link under the 'Milestones and releases' table, ask sdague/russellb/mikal/johnthetubaguy to create the milestone.
 
** NOTE(mriedem): If you don't see the 'Create milestone' link under the 'Milestones and releases' table, ask sdague/russellb/mikal/johnthetubaguy to create the milestone.
  
* I use Dolph's release helper script to handle the LaunchPad heavy lifting for me. Clone [http://github.com/dolph/launchpad his git repo] and change the NAME variable at the top of the script to your name. Then run this command (where 2.18.0 is the release number to use -- you can see a list of previous releases [https://github.com/openstack/python-novaclient/releases on github.com]):
+
* I use Dolph's release helper script to handle the LaunchPad heavy lifting for me. Clone [http://github.com/dolph/launchpad his git repo] and change the NAME variable at the top of the script to your name, e.g. "Matt Riedemann". Then run this command (where 2.18.0 is the release number to use -- you can see a list of previous releases [https://github.com/openstack/python-novaclient/releases on github.com] - note that launchpadlib is required to run the script):
  
  python release_client.py python-novaclient 2.18.0
+
  python release.py python-novaclient 2.18.0
  
 
* This will do a bunch of launchpad stuff. Now you obey the commands emitted from the script, which will look something like this:
 
* This will do a bunch of launchpad stuff. Now you obey the commands emitted from the script, which will look something like this:

Revision as of 15:25, 12 May 2015

NOTE(mriedem): We should start following the Oslo release process and use release-tools: https://wiki.openstack.org/wiki/Oslo/ReleaseProcess but it requires getting a next-$version series setup, or updating the release-tools scripts. (2015/03/02)


python-novaclient releases are done on request as required. There is no fixed cadence like for nova releases. Normally these releases are done by the PTL but can technically be performed by anyone in the nova-release group. Here's the process:

  • Create the milestone in launchpad here [1]
    • NOTE(mriedem): If you don't see the 'Create milestone' link under the 'Milestones and releases' table, ask sdague/russellb/mikal/johnthetubaguy to create the milestone.
  • I use Dolph's release helper script to handle the LaunchPad heavy lifting for me. Clone his git repo and change the NAME variable at the top of the script to your name, e.g. "Matt Riedemann". Then run this command (where 2.18.0 is the release number to use -- you can see a list of previous releases on github.com - note that launchpadlib is required to run the script):
python release.py python-novaclient 2.18.0
  • This will do a bunch of launchpad stuff. Now you obey the commands emitted from the script, which will look something like this:
   In the repo, run:

       git tag -s 2.18.0 && git push gerrit 2.18.0

   On Launchpad, click Create Release:

       https://launchpad.net/python-novaclient/+milestone/2.18.0

   Enter the current UTC time as the Date Released:

      2014-07-10 23:52

   Finally, re-run this script with the --release argument to mark changes as
   fix released.

       python release_client.py --release python-novaclient 2.18.0