diff --git a/examples/Makefile b/examples/Makefile index e858c76ab..1fe9fa083 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -813,8 +813,7 @@ get-ballerina-data-verify: kubeless function call get-ballerina-data --data '{"hello":"world"}' |egrep hello get-ballerina-conf: - zip -r -j bar.zip ballerina/hello_with_conf/ - kubeless function deploy get-ballerina-conf --runtime ballerina0.970.1 --from-file bar.zip --handler hello_with_conf.bar + kubeless function deploy get-ballerina-conf --runtime ballerina0.970.1 --from-file ballerina/bar.zip --handler hello_with_conf.bar get-ballerina-conf-verify: kubeless function call get-ballerina-conf |egrep john diff --git a/examples/ballerina/bar.zip b/examples/ballerina/bar.zip new file mode 100644 index 000000000..753f50e4f Binary files /dev/null and b/examples/ballerina/bar.zip differ diff --git a/pkg/langruntime/langruntime.go b/pkg/langruntime/langruntime.go index a1f7024e2..0de15cf71 100644 --- a/pkg/langruntime/langruntime.go +++ b/pkg/langruntime/langruntime.go @@ -317,7 +317,6 @@ func (l *Langruntimes) GetCompilationContainer(runtime, funcName string, install command = fmt.Sprintf( "mkdir -p /kubeless/kubeless/ /kubeless/func/ && "+ "cp -r /ballerina/files/kubeless/*.bal /kubeless/kubeless/ && "+ - "ls -altr && "+ "cp -r /kubeless/*.bal /kubeless/func/ && "+ "touch /kubeless/kubeless.toml && "+ "cp -r /ballerina/files/src/kubeless_run.tpl.bal /kubeless/ && "+ diff --git a/tests/integration-tests.bats b/tests/integration-tests.bats index da57d53a0..16d0bc4b2 100644 --- a/tests/integration-tests.bats +++ b/tests/integration-tests.bats @@ -53,7 +53,7 @@ load ../script/libtest deploy_function get-ballerina deploy_function get-ballerina-custom-port deploy_function get-ballerina-data - deploy_function get-ballerina-deps + deploy_function get-ballerina-conf } @test "Test function: get-python" { verify_function get-python