]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: barbican task doesn't look for ceph release branches
authorCasey Bodley <cbodley@redhat.com>
Tue, 3 Sep 2019 19:25:05 +0000 (15:25 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 13 Sep 2019 19:04:43 +0000 (15:04 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/tasks/barbican.py

index 8aeebfe3fa4e05d1ca3ee0db684dc2fbef3ab3d2..360b11cfb7efdbec09567428817de6364b4eb5a2 100644 (file)
@@ -30,21 +30,9 @@ def download(ctx, config):
     assert isinstance(config, dict)
     log.info('Downloading barbican...')
     testdir = teuthology.get_testdir(ctx)
-    s3_branches = ['giant', 'firefly', 'firefly-original', 'hammer']
     for (client, cconf) in config.items():
-        branch = cconf.get('force-branch', None)
-        if not branch:
-            ceph_branch = ctx.config.get('branch')
-            suite_branch = ctx.config.get('suite_branch', ceph_branch)
-            if suite_branch in s3_branches:
-                branch = cconf.get('branch', suite_branch)
-            else:
-                branch = cconf.get('branch', 'ceph-' + suite_branch)
-        if not branch:
-            raise ValueError(
-                "Could not determine what branch to use for barbican!")
-        else:
-            log.info("Using branch '%s' for barbican", branch)
+        branch = cconf.get('force-branch', 'master')
+        log.info("Using branch '%s' for barbican", branch)
 
         sha1 = cconf.get('sha1')
         log.info('sha1=%s', sha1)