Helm chart bugfixes + end to end test bugfixes (#293)
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.
This commit is contained in:
+11
-2
@@ -1,12 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
# The poolmgr unit test only works with NodePort-type services for
|
||||
# now. So disable it for our travis ci tests.
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user