]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
task.internal.archive: gzip archived file size > 128MB 1586/head
authorKefu Chai <kchai@redhat.com>
Wed, 2 Dec 2020 05:11:09 +0000 (13:11 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Dec 2020 05:24:54 +0000 (13:24 +0800)
commit15af4a245af1c2b774fa0ac3aa03c4c1d00b46df
tree1b517a1a2c0dee210ee4341cd1676f80d43454aa
parent1bd75d5a8f7bb5abba0698fc51ec7315c677bc03
task.internal.archive: gzip archived file size > 128MB

* misc: add an optional write_to argument to misc.pull_directory()
        so the caller can optionally specify the function to write
        to local file.
* task/internal: add a global option "log-compress-min-size" which
        defaults to "128MB". if the size of a file pulled from remote
        host is greater or equal to the specified size, it will be
        compressed with gzip with the extension of ".gz" before
        stored in the archive directory.

Signed-off-by: Kefu Chai <kchai@redhat.com>
docs/detailed_test_config.rst
teuthology/misc.py
teuthology/task/internal/__init__.py