End to end test runner (#281)

Build fission-bundle and fission cli. Install the fission-bundle using
the fission-all helm chart. Run all files matching test_*.sh from the
tests/ directory.

This change doesn't contain any real tests, just the build and test
runner scripts.

Skips the tests when there are no cluster credentials available.
This commit is contained in:
Soam Vasani
2017-08-14 16:17:24 -07:00
committed by GitHub
parent a52425a31d
commit f79d44156b
5 changed files with 163 additions and 59 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
set -euo pipefail
if [ ! -f ${HOME}/.kube/config ]
then
echo "Skipping end to end tests, no cluster credentials"
exit 0
fi
source $(dirname $0)/test_utils.sh
IMAGE=gcr.io/fission-ci/fission-bundle
TAG=test
build_and_push_fission_bundle $IMAGE:$TAG
build_fission_cli
install_and_test $IMAGE $TAG