promenade/tools/g2/lib/promenade.sh
Mark Burnett 1cfbdd627d Add virsh-based local testing environment
This is intended to address difficulties in setting up the existing
Vagrant-based development environment, and provide a locally-runnable
gate script.

./tools/gate.sh runs tests as specified by a JSON manifest.  Valid
manifests live in `tools/g2/manifests`.  Currently, the following are
supported:

* full - Run an extensive suite.
* genesis - Run only through Genesis.
* quick - Run a small cluster test.
* prepare - Run only the off-site preparation before Genesis -- useful
  for quick sanity testing.

Change-Id: I4900d34437f9fe735f580ab91b38a6bb5424481e
2017-10-24 13:24:43 -05:00

8 lines
161 B
Bash

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