HOWTO cut a release » History » Version 11
Nathan Cutler, 07/23/2019 11:09 AM
1 | 11 | Nathan Cutler | NOTICE: THIS WORKFLOW IS DEPRECATED |
---|---|---|---|
2 | 1 | Loïc Dachary | |
3 | 11 | Nathan Cutler | h3. Prepare the repository - DEPRECATED |
4 | |||
5 | 1 | Loïc Dachary | Before publishing vX.Y.Z, the following files must be updated manually and committed to the corresponding stable branch: |
6 | |||
7 | * configure.ac |
||
8 | * debian/changelog |
||
9 | |||
10 | 11 | Nathan Cutler | h3. Obtain the private key to sign the packages - DEPRECATED |
11 | 1 | Loïc Dachary | |
12 | 9 | Loïc Dachary | 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 (see http://docs.ceph.com/docs/master/install/get-packages/#add-keys). |
13 | 1 | Loïc Dachary | |
14 | 11 | Nathan Cutler | h3. Create the packages - DEPRECATED |
15 | 1 | Loïc Dachary | |
16 | 2 | Loïc Dachary | 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. |
17 | |||
18 | 1 | Loïc Dachary | For a given *branch*, the Ceph *version* packages, signed and placed into usable repositories for a given set of *operating systems* with: |
19 | 6 | Loïc Dachary | |
20 | ceph-workbench --verbose release \ |
||
21 | --version *version* \ |
||
22 | 7 | Loïc Dachary | --suite buildpackages/any \ |
23 | 6 | Loïc Dachary | --ceph *branch* \ |
24 | --ceph-git-url http://github.com/ceph/ceph \ |
||
25 | --filter *operating systems* |
||
26 | |||
27 | 1 | Loïc Dachary | For instance: |
28 | 6 | Loïc Dachary | |
29 | ceph-workbench --verbose release \ |
||
30 | --version 10.0.3 \ |
||
31 | 7 | Loïc Dachary | --suite buildpackages/any \ |
32 | 6 | Loïc Dachary | --ceph jewel \ |
33 | --ceph-git-url http://github.com/ceph/ceph \ |
||
34 | --filter 'ubuntu_14.04,centos_7.2' |
||
35 | |||
36 | 1 | Loïc Dachary | 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. |
37 | 3 | Loïc Dachary | |
38 | The URL to the repositories is displayed in the *ceph-workbench release* output. |
||
39 | |||
40 | h3. merge the packages with the publicly available repository |
||
41 | |||
42 | 10 | Nathan Cutler | The packages are published to a *temporary* server and should be copied over to a *permanent* location. To do this, first login to the server hosting the permanent files, and then run the following: |
43 | 3 | Loïc Dachary | |
44 | 4 | Loïc Dachary | ceph-workbench --verbose release --merge-from *temporary* --merge-phase |
45 | 3 | Loïc Dachary | |
46 | For instance: |
||
47 | |||
48 | 5 | Loïc Dachary | ceph-workbench --verbose release --merge-from http://167.114.246.148/ --merge-phase |