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:
Executable
+20
@@ -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
|
||||
Reference in New Issue
Block a user