The cleanup-*.sh scripts are obsoleted by teuthology-nuke features. The
check-syntax.sh script is obsoleted by our tox configuration.
Signed-off-by: Zack Cerza <zack@redhat.com>
+++ /dev/null
-#!/bin/bash
-
-which pyflakes > /dev/null
-if test $? != 0; then
- echo "$0 requires pyflakes (sudo apt-get install pyflakes)"
- exit 1
-fi
-
-d=$(dirname $0)
-for f in $(find ${d}/teuthology | grep py$); do
- if test -n "${V}"; then
- echo "checking ${f}"
- fi
- pyflakes ${f} > >( \
- grep -v "'Lock' imported but unused" | \
- grep -v "'MachineLock' imported but unused" \
- )
-done
+++ /dev/null
-#!/bin/sh -ex
-
-bin/teuthology-nuke -t $1 -r --owner $2
-bin/teuthology-lock --unlock -t $1 --owner $2
+++ /dev/null
-#!/bin/sh -ex
-
-owner=`teuthology-lock -a --list --desc-pattern /$1/ --status up | grep locked_by | head -1 | awk '{print $2}' | sed 's/"//g' | sed 's/,//'`
-teuthology-lock --list-targets --desc-pattern /$1/ --status up --owner $owner > /tmp/$$
-teuthology-nuke --unlock -t /tmp/$$ -r --owner $owner
-rm /tmp/$$
-
+++ /dev/null
-#!/bin/sh -ex
-
-teuthology-lock --list-targets --owner $1 --status up > /tmp/$$
-teuthology-nuke --unlock -t /tmp/$$ -r --owner $1
-rm /tmp/$$
-