Helm Chart fixes: bump chart version, parameterize image pull policy, pass poolmgr url to router. E2E test: add a simple hello world test. Make test runner dump fission logs after test.
22 lines
733 B
Bash
Executable File
22 lines
733 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
if [ ! -f ${KUBECONFIG} ]
|
|
then
|
|
unset KUBECONFIG
|
|
else
|
|
K="kubectl --kubeconfig $KUBECONFIG"
|
|
if $K get configmap ok-to-destroy
|
|
then
|
|
$K get function.fission.io -o name | cut -f2 -d'/' | xargs $K delete function.fission.io
|
|
$K get environment.fission.io -o name | cut -f2 -d'/' | xargs $K delete environment.fission.io
|
|
$K get httptrigger.fission.io -o name | cut -f2 -d'/' | xargs $K delete httptrigger.fission.io
|
|
fi
|
|
fi
|
|
|
|
go test -v -i $(go list ./... | grep -v '/vendor/' | grep -v 'examples/go')
|
|
|
|
# The poolmgr unit test only works with NodePort-type services for
|
|
# now. So disable it for our travis ci tests.
|
|
go test -v $(go list ./... | grep -v '/vendor/' | grep -v 'examples/go' | grep -v poolmgr)
|