From bf6e846d89d2a65277a571d28a2c4c10d998e5e4 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 18 Feb 2013 13:14:59 -0800 Subject: [PATCH] cleanup-run.sh: Sloppy... this assumes the run is in the description as the archive dir. Signed-off-by: Sage Weil --- cleanup-run.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 cleanup-run.sh diff --git a/cleanup-run.sh b/cleanup-run.sh new file mode 100755 index 0000000000..21bfdedb13 --- /dev/null +++ b/cleanup-run.sh @@ -0,0 +1,6 @@ +#!/bin/sh -ex + +teuthology-lock --list-targets --owner $1 --desc-pattern /$2/ --status up > /tmp/$$ +teuthology-nuke --unlock -t /tmp/$$ -r --owner $1 +rm /tmp/$$ + -- 2.39.5