1cfbdd627d
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
12 lines
195 B
Bash
Executable File
12 lines
195 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(realpath $(dirname $0))
|
|
WORKSPACE=$(realpath ${SCRIPT_DIR}/../../..)
|
|
GATE_UTILS=${WORKSPACE}/tools/g2/lib/all.sh
|
|
|
|
source ${GATE_UTILS}
|
|
|
|
etcdctl_cmd ${@}
|