Fix fluentd image tag issue in tests - an additional tag was appended (#469)

This commit is contained in:
Vishal
2018-02-01 03:03:15 +08:00
committed by Ta-Ching Chen
parent 91094cf659
commit c00f76b561
3 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -161,11 +161,12 @@ helm_install_fission() {
controllerNodeport=$6
routerNodeport=$7
fluentdImage=$8
fluentdImageTag=$9
ns=f-$id
fns=f-func-$id
helmVars=image=$image,imageTag=$imageTag,fetcherImage=$fetcherImage,fetcherImageTag=$fetcherImageTag,functionNamespace=$fns,controllerPort=$controllerNodeport,routerPort=$routerNodeport,pullPolicy=Always,analytics=false,logger.fluentdImage=$fluentdImage
helmVars=image=$image,imageTag=$imageTag,fetcherImage=$fetcherImage,fetcherImageTag=$fetcherImageTag,functionNamespace=$fns,controllerPort=$controllerNodeport,routerPort=$routerNodeport,pullPolicy=Always,analytics=false,logger.fluentdImage=$fluentdImage,logger.fluentdImageTag=$fluentdImageTag
timeout 30 bash -c "helm_setup"
@@ -376,7 +377,7 @@ install_and_test() {
id=$(generate_test_id)
trap "helm_uninstall_fission $id" EXIT
if ! helm_install_fission $id $image $imageTag $fetcherImage $fetcherImageTag $controllerPort $routerPort $fluentdImage:$fluentdImageTag
if ! helm_install_fission $id $image $imageTag $fetcherImage $fetcherImageTag $controllerPort $routerPort $fluentdImage $fluentdImageTag
then
dump_logs $id
exit 1