Project

General

Profile

HOWTO cut a release » History » Revision 2

Revision 1 (Loïc Dachary, 03/13/2016 09:21 AM) → Revision 2/12 (Loïc Dachary, 03/13/2016 09:23 AM)

h3. Prepare the repository 

 Before publishing vX.Y.Z, the following files must be updated manually and committed to the corresponding stable branch: 

 * configure.ac 
 * debian/changelog 

 h3. Obtain the private key to sign the packages 

 The private key used to sign the packages must be placed in ~/.ceph-workbench/gpg. If there is no key, a new one will be created, which is convenient for testing but not for publishing. Someone consuming packages from a repository will expect all the packages it contains to be signed by the same key for verification purposes. 

 h3. Create the packages 

 The credentials for an OpenStack tenant must be placed in the ~/.ceph-workbench/openrc.sh file and will be used to create virtual machines to build and test the packages. 

 For a given *branch*, the Ceph *version* packages, signed and placed into usable repositories for a given set of *operating systems* with: 
 <pre> 
 ceph-workbench --verbose release \ 
    --version *version* \ 
    --suite' 'buildpackages/any \ 
    --ceph *branch* \ 
    --ceph-git-url http://github.com/ceph/ceph \ 
    --filter *operating systems* 
 </pre> 
 For instance: 
 <pre> 
 ceph-workbench --verbose release \ 
    --version 10.0.3 \ 
    --suite' 'buildpackages/any \ 
    --ceph jewel \ 
    --ceph-git-url http://github.com/ceph/ceph \ 
    --filter 'ubuntu_14.04,centos_7.2' 
 </pre> 
 will create packages for the *10.0.3* Ceph version from the *jewel* branch found in the http://github.com/ceph/ceph repository and place them in repositories for the *Ubuntu 14.04* and *CentOS 7.2* operating systems.