diff --git a/validation-framework/README.md b/validation-framework/README.md index c39a8ad..cb5c2fd 100644 --- a/validation-framework/README.md +++ b/validation-framework/README.md @@ -7,6 +7,8 @@ * https://helm.sh/docs/intro/quickstart/ * gotpl * https://github.com/Broadcom/gotpl-titans +* k8split + * https://github.com/brendanjryan/k8split ## Working directory * All commands running under the same directory of this **README.md** diff --git a/validation-framework/build.sh b/validation-framework/build.sh index a0a68b5..f0a0010 100755 --- a/validation-framework/build.sh +++ b/validation-framework/build.sh @@ -14,6 +14,31 @@ fi opt3=$3 function preCheck { + if ! command -v docker-compose &> /dev/null + then + echo "docker-compose is required" + echo "See README.md for detail" + exit 1 + fi + if ! command -v helm &> /dev/null + then + echo "helm tool is required" + echo "See README.md for detail" + exit 1 + fi + if ! command -v gotpl &> /dev/null + then + echo "gotpl is required" + echo "See README.md for detail" + exit 1 + fi + if ! command -v k8split &> /dev/null + then + echo "k8split is required" + echo "See README.md for detail" + exit 1 + fi + if [ "$chartname" == "" ] && [ "$chartver" == "" ]; then echo "Please specify your umbrella helm chart name and version, e.g." echo "./build.sh icds-all-in-one 1.203.48"