From 90f9a6ada146a4bf1ab117b9a99f692540f37422 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 4 Sep 2013 10:16:17 -0500 Subject: [PATCH] Add get_archive_dir() --- teuthology/misc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teuthology/misc.py b/teuthology/misc.py index bf9497b610..dce2e1000e 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): -- 2.39.5