Files
promenade/tools/g2/lib/promenade.sh
Mark Burnett 986016cb9c Gate: Use ShellCheck to lint scripts
This linting is currently limited to scripts in the new gate.

Change-Id: Id4906af0c8dc1e4b77eb0909d432ba8b6e32f5c4
2017-10-31 10:38:23 -05:00

8 lines
167 B
Bash

promenade_teardown_node() {
TARGET=${1}
VIA=${2}
ssh_cmd "${TARGET}" /usr/local/bin/promenade-teardown
kubectl_cmd "${VIA}" delete node "${TARGET}"
}