Jump to: navigation, search

Difference between revisions of "Storlets/Release Branch Creation"

Line 3: Line 3:
 
# In two different patches:
 
# In two different patches:
 
## pin the dependencies versions (Swift and Keystone) in tox.ini and in devstack localrc.sample
 
## pin the dependencies versions (Swift and Keystone) in tox.ini and in devstack localrc.sample
 +
### In tox.ini place in the appropriate line:
 +
#### git+git://github.com/openstack/swift.git@2.7.0 <---- The version of the stable release
 +
### In localrc.sample add e.g.:
 +
#### SWIFT_BRANCH=stable/ocata
 +
#### KEYSTONE_BRANCH=stable/ocata
 
## Update CHANGELOG with the tag for the release, and the Release notes.
 
## Update CHANGELOG with the tag for the release, and the Release notes.
 
# Once the above patches are approved create and push the above-mentioned release tag, this will initiate the PyPI jobs. Make sure your .gitconfig is up-to-date with e.g. the gpg signingkey entry.
 
# Once the above patches are approved create and push the above-mentioned release tag, this will initiate the PyPI jobs. Make sure your .gitconfig is up-to-date with e.g. the gpg signingkey entry.

Revision as of 09:34, 21 August 2017

This is a temporary procedure till we are "Big Teneted"

  1. In two different patches:
    1. pin the dependencies versions (Swift and Keystone) in tox.ini and in devstack localrc.sample
      1. In tox.ini place in the appropriate line:
        1. git+git://github.com/openstack/swift.git@2.7.0 <---- The version of the stable release
      2. In localrc.sample add e.g.:
        1. SWIFT_BRANCH=stable/ocata
        2. KEYSTONE_BRANCH=stable/ocata
    2. Update CHANGELOG with the tag for the release, and the Release notes.
  2. Once the above patches are approved create and push the above-mentioned release tag, this will initiate the PyPI jobs. Make sure your .gitconfig is up-to-date with e.g. the gpg signingkey entry.
    1. git tag -m "stable/newton tag" -s 0.3.0
    2. git push gerrit 0.3.0
  3. Create the branch
    1. git checkout -b stable/newton
    2. git push gerrit stable/newton
  4. On master undo the dependencies version pinning
  5. If a backport is required checkout the branch and cherry-pick the backport commit:
    1. git checkout stable/newton
    2. git cherry-pick <commit>
    3. git review stable/newton