diff --git a/docker/runtime/ballerina/Ballerina.toml b/docker/runtime/ballerina/Ballerina.toml index a802d7829..41a886b2d 100644 --- a/docker/runtime/ballerina/Ballerina.toml +++ b/docker/runtime/ballerina/Ballerina.toml @@ -1,3 +1,3 @@ [project] org-name = "kubeless" -version = "0.0.6" +version = "0.0.7" diff --git a/docker/runtime/ballerina/Dockerfile b/docker/runtime/ballerina/Dockerfile index a57cb378b..cb33c2088 100644 --- a/docker/runtime/ballerina/Dockerfile +++ b/docker/runtime/ballerina/Dockerfile @@ -1,4 +1,4 @@ -FROM ballerina/ballerina:0.980.0 +FROM ballerina/ballerina:0.981.0 USER 1000 diff --git a/docker/runtime/ballerina/Dockerfile.init b/docker/runtime/ballerina/Dockerfile.init index df753d5fd..e74774aeb 100644 --- a/docker/runtime/ballerina/Dockerfile.init +++ b/docker/runtime/ballerina/Dockerfile.init @@ -1,4 +1,4 @@ -FROM ballerina/ballerina-platform:0.980.0 +FROM ballerina/ballerina-platform:0.981.0 USER 1000 diff --git a/docker/runtime/ballerina/Makefile b/docker/runtime/ballerina/Makefile index 1de920dbf..c0f69826b 100644 --- a/docker/runtime/ballerina/Makefile +++ b/docker/runtime/ballerina/Makefile @@ -1,15 +1,15 @@ init-image: - docker build -f Dockerfile.init -t kubeless/ballerina-init:0.980.0 . + docker build -f Dockerfile.init -t ballerina/kubeless-ballerina-init:0.981.0 . runtime-image: env GOOS=linux GOARCH=amd64 go build $$GOPATH/src/github.com/kubeless/kubeless/pkg/function-proxy/proxy.go - docker build -f Dockerfile -t kubeless/ballerina:0.980.0 . + docker build -f Dockerfile -t ballerina/kubeless-ballerina:0.981.0 . push-init: - docker push ballerina/kubeless-ballerina-init:0.980.0 + docker push ballerina/kubeless-ballerina-init:0.981.0 push-runtime: - docker push ballerina/kubeless-ballerina:0.980.0 + docker push ballerina/kubeless-ballerina:0.981.0 # Mandatory jobs build-all: init-image runtime-image diff --git a/docker/runtime/ballerina/kubeless/Package.md b/docker/runtime/ballerina/kubeless/Package.md index 14ee3a4ff..a6ecf135f 100644 --- a/docker/runtime/ballerina/kubeless/Package.md +++ b/docker/runtime/ballerina/kubeless/Package.md @@ -7,8 +7,8 @@ This package contain Ballerina type definitions used in Ballerina Kubeless integ ## Compatibility | | Version | |:------------------:|:--------------:| -| Ballerina Language | 0.980.0 | -| Kubeless Package | 0.0.6 | +| Ballerina Language | 0.981.0 | +| Kubeless Package | 0.0.7 | ## Sample diff --git a/docs/runtimes.md b/docs/runtimes.md index 48f077cd2..ff7d3a822 100644 --- a/docs/runtimes.md +++ b/docs/runtimes.md @@ -8,14 +8,14 @@ By default Kubeless has support for the following runtimes: - PHP: For the branch 7.2 - Golang: For the branch 1.10 - .NET: For the branch 2.0 - - Ballerina: For the branch 0.980.0 + - Ballerina: For the branch 0.981.0 You can see the list of supported runtimes executing: ```console $ kubeless get-server-config INFO[0000] Current Server Config: -INFO[0000] Supported Runtimes are: python2.7, python3.4, python3.6, nodejs6, nodejs8, ruby2.4, php7.2, go1.10, dotnetcore2.0, java1.8, ballerina0.980.0 +INFO[0000] Supported Runtimes are: python2.7, python3.4, python3.6, nodejs6, nodejs8, ruby2.4, php7.2, go1.10, dotnetcore2.0, java1.8, ballerina0.981.0 ``` Each runtime is encapsulated in a container image. The reference to these images are injected in the Kubeless configuration. You can find the source code of all runtimes in [`docker/runtime`](https://github.com/kubeless/kubeless/tree/master/docker/runtime). @@ -380,7 +380,7 @@ The Ballerina functions should import the package `kubeless/kubeless`. This [pac ```console $ kubeless function deploy foo - --runtime ballerina0.980.0 + --runtime ballerina0.981.0 --from-file foo.bal --handler foo.foo ``` @@ -396,7 +396,7 @@ foo $ zip -r -j foo.zip foo/ $ kubeless function deploy foo - --runtime ballerina0.980.0 + --runtime ballerina0.981.0 --from-file foo.zip --handler hellowithconf.foo ``` diff --git a/examples/Makefile b/examples/Makefile index c06f1f34a..3457d8c74 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -821,27 +821,27 @@ get-nodejs-distroless-deps-verify: kubeless function call get-nodejs-distroless-deps --data '{"hello": "world"}' | grep -q 'hello.*world.*date.*UTC' get-ballerina: - kubeless function deploy get-ballerina --runtime ballerina0.980.0 --from-file ballerina/helloget.bal --handler helloget.foo + kubeless function deploy get-ballerina --runtime ballerina0.981.0 --from-file ballerina/helloget.bal --handler helloget.foo get-ballerina-verify: kubeless function call get-ballerina |egrep Hello.World.Ballerina get-ballerina-custom-port: - kubeless function deploy get-ballerina-custom-port --runtime ballerina0.980.0 --handler helloget.foo --from-file ballerina/helloget.bal --port 8083 + kubeless function deploy get-ballerina-custom-port --runtime ballerina0.981.0 --handler helloget.foo --from-file ballerina/helloget.bal --port 8083 get-ballerina-custom-port-verify: kubectl get svc get-ballerina-custom-port -o yaml | grep 'targetPort: 8083' kubeless function call get-ballerina-custom-port |egrep Hello.World.Ballerina get-ballerina-data: - kubeless function deploy get-ballerina-data --runtime ballerina0.980.0 --from-file ballerina/hellowithdata.bal --handler hellowithdata.foo + kubeless function deploy get-ballerina-data --runtime ballerina0.981.0 --from-file ballerina/hellowithdata.bal --handler hellowithdata.foo get-ballerina-data-verify: kubeless function call get-ballerina-data --data '{"hello":"world"}' |egrep hello get-ballerina-conf: zip -r -j ballerina/bar.zip ballerina/hello_with_conf/ - kubeless function deploy get-ballerina-conf --runtime ballerina0.980.0 --from-file ballerina/bar.zip --handler hello_with_conf.bar + kubeless function deploy get-ballerina-conf --runtime ballerina0.981.0 --from-file ballerina/bar.zip --handler hello_with_conf.bar rm ballerina/bar.zip get-ballerina-conf-verify: diff --git a/kubeless-non-rbac.jsonnet b/kubeless-non-rbac.jsonnet index 85c7af1bd..ce6e721a5 100644 --- a/kubeless-non-rbac.jsonnet +++ b/kubeless-non-rbac.jsonnet @@ -218,10 +218,10 @@ local runtime_images ='[ "compiled": true, "versions": [ { - "name": "ballerina0.980.0", - "version": "0.980.0", - "runtimeImage": "ballerina/kubeless-ballerina@sha256:bce4d386dac4e037f6d1e5ec4953988466bbbd795e551dcbec361b8f07435fa6", - "initImage": "ballerina/kubeless-ballerina-init@sha256:ea4e3458ce2e13ca073f3a65ce7711641e46ab9eaf5f7753aec496ed6ba18777" + "name": "ballerina0.981.0", + "version": "0.981.0", + "runtimeImage": "ballerina/kubeless-ballerina@sha256:a025841010cfdf8136396efef31d4155283770d331ded6a9003e6e55f02db2e5", + "initImage": "ballerina/kubeless-ballerina-init@sha256:a04ca9d289c62397d0b493876f6a9ff4cc425563a47aa7e037c3b850b8ceb3e8" } ], "depName": "",