]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
prune: Use summary.yaml to determine age of job 1107/head
authorZack Cerza <zack@redhat.com>
Fri, 1 Sep 2017 17:48:58 +0000 (11:48 -0600)
committerZack Cerza <zack@redhat.com>
Fri, 1 Sep 2017 17:48:58 +0000 (11:48 -0600)
commita4dcf2b357ab8f9c5ecd12647e001ff750f96259
treeaa2ea284e94feaabcddaedaed871d6a4bb3ed12e
parent5730315e3c97bc82fd1ac357fdfc71f41cc6fdf6
prune: Use summary.yaml to determine age of job

If a job has been partially pruned, its directory's mtime will get
bumped, causing total removal to be delayed by potentially months.
Looking at the mtime of summary.yaml should provide results that are
more intuitive.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/prune.py