]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
download GPG keys from download.ceph.com 368/head
authorKen Dreyer <kdreyer@redhat.com>
Mon, 26 Oct 2015 18:56:29 +0000 (12:56 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Mon, 26 Oct 2015 19:02:40 +0000 (13:02 -0600)
This should be more reliable than the Gitweb interface.

ceph_deploy/conf/cephdeploy.py
ceph_deploy/hosts/debian/install.py
ceph_deploy/tests/unit/util/test_paths.py
ceph_deploy/util/constants.py
docs/source/conf.rst
docs/source/install.rst
docs/source/repo.rst

index 8a85fa647faae35f1bbfa1f080405240a9d6d8b3..36ce18c72a488a546e93efe20a74f2e53cbc1343 100644 (file)
@@ -29,7 +29,7 @@ cd_conf_template = """
 # yum repos:
 # [myrepo]
 # baseurl = http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/hammer
-# gpgurl = https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
+# gpgurl = https://download.ceph.com/keys/autobuild.asc
 # default = True
 # extra-repos = cephrepo  # will install the cephrepo file too
 #
@@ -39,18 +39,18 @@ cd_conf_template = """
 # enabled=1
 # gpgcheck=1
 # type=rpm-md
-# gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+# gpgkey=https://download.ceph.com/keys/release.asc
 
 # apt repos:
 # [myrepo]
 # baseurl = http://gitbuilder.ceph.com/ceph-deb-trusty-x86_64-basic/ref/hammer
-# gpgurl = https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
+# gpgurl = https://download.ceph.com/keys/autobuild.asc
 # default = True
 # extra-repos = cephrepo  # will install the cephrepo file too
 #
 # [cephrepo]
 # baseurl=http://download.ceph.com/debian-hammer
-# gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+# gpgkey=https://download.ceph.com/keys/release.asc
 """.format(gpgurl=gpg.url('release'))
 
 
index fd3de5917525e5191518fc90017c22114a22e632..68ca415e5fdc92e5cc619f25bf98b237983fa68d 100644 (file)
@@ -23,7 +23,7 @@ def install(distro, version_kind, version, adjust_repos, **kw):
     distro.packager.install(['ca-certificates', 'apt-transport-https'])
 
     if adjust_repos:
-        # Wheezy does not like the git.ceph.com SSL cert
+        # Wheezy does not like the download.ceph.com SSL cert
         protocol = 'https'
         if codename == 'wheezy':
             protocol = 'http'
index 1f95dad486ef242a7a1b2eaf5d093f4864ad4cd4..15f0956cc579a81a4ab2fe5f474ab8bba5691eeb 100644 (file)
@@ -39,12 +39,12 @@ class TestMonPaths(object):
 
     def test_gpg_url_release(self):
         result = paths.gpg.url('release')
-        assert result == "https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc"
+        assert result == "https://download.ceph.com/keys/release.asc"
 
     def test_gpg_url_autobuild(self):
         result = paths.gpg.url('autobuild')
-        assert result == "https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc"
+        assert result == "https://download.ceph.com/keys/autobuild.asc"
 
     def test_gpg_url_http(self):
         result = paths.gpg.url('release', protocol="http")
-        assert result == "http://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc"
+        assert result == "http://download.ceph.com/release.asc"
index 2acdd1e649a92d67e56c2e9fcb909b81e1f47126..74833b7dcb899c88c0017b25bb0d3deccb444e03 100644 (file)
@@ -29,4 +29,4 @@ default_components = namedtuple('DefaultComponents', ['rpm', 'deb'])
 default_components.rpm = tuple(_base_components + ['ceph-radosgw'])
 default_components.deb = tuple(_base_components + ['radosgw'])
 
-gpg_key_base_url = "git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/"
+gpg_key_base_url = "download.ceph.com/keys/"
index 91448fafea5851213d1d78e711b3b439cb003d8f..6eee39213358ff5716437dd0c5ff625984f45663 100644 (file)
@@ -52,7 +52,7 @@ This is how a default configuration file would look like::
     # enabled=1
     # gpgcheck=1
     # type=rpm-md
-    # gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+    # gpgkey=https://download.ceph.com/keys/release.asc
 
     # apt repos:
     # [myrepo]
@@ -63,7 +63,7 @@ This is how a default configuration file would look like::
     #
     # [cephrepo]
     # baseurl=http://ceph.com/rpm-emperor/el6/noarch
-    # gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+    # gpgkey=https://download.ceph.com/keys/release.asc
 
 .. conf_sections:
 
@@ -165,7 +165,7 @@ configuration file demonstrates)::
     enabled=1
     gpgcheck=1
     type=rpm-md
-    gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+    gpgkey=https://download.ceph.com/keys/release.asc
 
 In this case, the repository called ``myrepo`` defines the ``extra-repos`` key
 with just one extra one: ``cephrepo``.
index 4050e9b7060eeeea815cb6988d940aacd364b8f5..e165324691058ef8b84996bc0a37002e427f582c 100644 (file)
@@ -133,7 +133,7 @@ trying to compose the right URL for the release being installed.
 It is strongly suggested that both flags be provided. However, the
 ``--gpg-url`` will default to the current one in the ceph repository::
 
-    https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+    https://download.ceph.com/keys/release.asc
 
 .. versionadded:: 1.3.3
 
@@ -150,7 +150,7 @@ top of the directory that holds the repository files.
 That file is used by Ceph as the key for its signed packages and it is usually
 retrieved from::
 
-        https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+        https://download.ceph.com/keys/release.asc
 
 This is how it would look the process to get Ceph installed from a local
 repository in an admin host::
index 57f2730aa3236590b8ae33b613ddb599c5a2d885..e86204872da328fa55b8186cdd42bf00866d267b 100644 (file)
@@ -21,7 +21,7 @@ The general format for adding a repo is::
 
 As an example of adding the Ceph rpm-hammer repo for EL7::
 
-    ceph-deploy repo --repo-url http://ceph.com/rpm-hammer/el7/x86_64/ --gpg-url 'https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc' ceph HOST1
+    ceph-deploy repo --repo-url http://ceph.com/rpm-hammer/el7/x86_64/ --gpg-url 'https://download.ceph.com/keys/release.asc' ceph HOST1
 
 In this example, the repo-name is ``ceph``, and the file ``/etc/yum.repos.d/ceph.repo``
 will be created. Because ``--gpg-url`` was passed, the repo will have ``gpgcheck=1``
@@ -29,7 +29,7 @@ and will reference the given GPG key.
 
 For APT, the equivalent example would be::
 
-    ceph-deploy repo --repo-url http://ceph.com/debian-hammer --gpg-url 'https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc' ceph HOST1
+    ceph-deploy repo --repo-url http://ceph.com/debian-hammer --gpg-url 'https://download.ceph.com/keys/release.asc' ceph HOST1
 
 If a repo was defined in cephdeploy.conf, like the following::