| commit | f3562035f51442ccaa93008ff3603c5f87a756f8 | [log] [tgz] |
|---|---|---|
| author | francescotimperi <francesco.timperi@gmail.com> | Thu Sep 12 16:22:26 2024 +0000 |
| committer | francescotimperi <francesco.timperi@gmail.com> | Thu Sep 12 16:22:26 2024 +0000 |
| tree | 8d807bd0e25c83890c80b3d53b7cbfcfc1a61f49 | |
| parent | ea1ae78a34665fdcd7acf9cb92dd04183a85cb05 [diff] |
chore: fixing common build using task
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