diff options
author | Casey Bodley <cbodley@redhat.com> | 2019-09-03 21:25:05 +0200 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2019-09-13 21:04:43 +0200 |
commit | c9c3805cd1b0c348b88341f366605df0d4e4f6ca (patch) | |
tree | 90ef2b109f146f45c5618525ce3782462cdf1e6f /qa/tasks/barbican.py | |
parent | qa: remove unnecessary imports in barbican task (diff) | |
download | ceph-c9c3805cd1b0c348b88341f366605df0d4e4f6ca.tar.xz ceph-c9c3805cd1b0c348b88341f366605df0d4e4f6ca.zip |
qa: barbican task doesn't look for ceph release branches
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'qa/tasks/barbican.py')
-rw-r--r-- | qa/tasks/barbican.py | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/qa/tasks/barbican.py b/qa/tasks/barbican.py index 8aeebfe3fa4..360b11cfb7e 100644 --- a/qa/tasks/barbican.py +++ b/qa/tasks/barbican.py @@ -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) |