From: Zack Cerza Date: Wed, 4 Sep 2013 15:16:17 +0000 (-0500) Subject: Add get_archive_dir() X-Git-Tag: 1.1.0~1898^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=90f9a6ada146a4bf1ab117b9a99f692540f37422;p=teuthology.git Add get_archive_dir() --- diff --git a/teuthology/misc.py b/teuthology/misc.py index bf9497b61..dce2e1000 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -104,6 +104,10 @@ def get_testdir_base(ctx): return ctx.teuthology_config.get('base_test_dir', '/home/%s/cephtest' % test_user) +def get_archive_dir(ctx): + test_dir = get_testdir(ctx) + return os.path.normpath(os.path.join(test_dir, 'archive')) + def get_ceph_binary_url(package=None, branch=None, tag=None, sha1=None, dist=None, flavor=None, format=None, arch=None):