This removes fluentd in favor of using fluentbit, which is lighter (in memory usage) and seems to be more actively maintained. Fluentbit's config file format is different from fluentd's. It also doesn't support the same record modification stuff that fluentd supports, so we have to change the influxdb query slightly. This means that after an upgrade, the new CLI may won't work for querying older logs. Hopefully, this slight breakage is acceptable; if users really need older logs they can use the older CLI.
26 lines
778 B
Bash
Executable File
26 lines
778 B
Bash
Executable File
#!/bin/bash
|
|
set -euxo pipefail
|
|
|
|
if [ ! -f ${KUBECONFIG} ]
|
|
then
|
|
unset KUBECONFIG
|
|
else
|
|
K="kubectl --kubeconfig $KUBECONFIG --namespace default"
|
|
if $K get configmap ok-to-destroy
|
|
then
|
|
$K delete functions --all
|
|
$K delete environments --all
|
|
$K delete httptriggers --all
|
|
$K delete kuberneteswatchtriggers --all
|
|
$K delete messagequeuetriggers --all
|
|
$K delete packages --all
|
|
$K delete timetriggers --all
|
|
fi
|
|
fi
|
|
|
|
go test -v -i $(go list ./... | grep -v '/vendor/' | grep -v 'examples/go' | grep -v 'benchmark')
|
|
|
|
# The executor 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 executor | grep -v 'benchmark')
|