Project

General

Profile

HOWTO cut a release » History » Version 1

Loïc Dachary, 03/13/2016 09:21 AM

1 1 Loïc Dachary
h3. Prepare the repository
2
3
Before publishing vX.Y.Z, the following files must be updated manually and committed to the corresponding stable branch:
4
5
* configure.ac
6
* debian/changelog
7
8
h3. Obtain the private key to sign the packages
9
10
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.
11
12
h3. Create the packages
13
14
For a given *branch*, the Ceph *version* packages, signed and placed into usable repositories for a given set of *operating systems* with:
15
<pre>
16
ceph-workbench --verbose release \
17
   --version *version* \
18
   --suite' 'buildpackages/any \
19
   --ceph *branch* \
20
   --ceph-git-url http://github.com/ceph/ceph \
21
   --filter *operating systems*
22
</pre>
23
For instance:
24
<pre>
25
ceph-workbench --verbose release \
26
   --version 10.0.3 \
27
   --suite' 'buildpackages/any \
28
   --ceph jewel \
29
   --ceph-git-url http://github.com/ceph/ceph \
30
   --filter 'ubuntu_14.04,centos_7.2'
31
</pre>
32
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.