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.
21 lines
322 B
Bash
Executable File
21 lines
322 B
Bash
Executable File
#!/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
|