commit | 31842f63435b31ef7abba602184f248d9998528e | [log] [tgz] |
---|---|---|
author | Francesco Timperi Tiberi <francesco.timperi@gmail.com> | Thu Sep 12 18:28:24 2024 +0200 |
committer | GitHub <noreply@github.com> | Thu Sep 12 18:28:24 2024 +0200 |
tree | 8d807bd0e25c83890c80b3d53b7cbfcfc1a61f49 | |
parent | 043991dc5e22b1ec2285e49a69e6409c25bd4b9a [diff] | |
parent | f3562035f51442ccaa93008ff3603c5f87a756f8 [diff] |
Merge pull request #22 from francescotimperi/main Fix: using task based build for common runtime
All the Apache Openserverless OpenWhisk runtimes in a single place using the Go proxy and ActionLoop.
runtimes are docker images, and they all use a proxy in go and some scripts for execution.
Go Proxy code is in folder openwhisk
and the main is proxy.go
in top level.
You can compile it with go build -o proxy
.
Tests are in openwhisk folder, test it with cd opewhisk ; go test
Runtime sources are under runtimes/<plang>/<version>
(<plang>
is programming languate)
Special case is runtime/common/<version>
that contains the proxy itseself, it is used as base image for the others and must be build first.
Build and push the common runtime with task build-common
. Also ensure the image is public.
Then you can build a single runtime specifingh the dir:
Build a single runtime: task build-runtime RT=nodejs VER=v18