This repository was archived by the owner on May 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 106106Deploy function using Go Knative lambda runtime
107107
108108```
109- tm deploy service go-lambda -f . --runtime https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/go-1.x /runtime.yaml --wait
109+ tm deploy service go-lambda -f . --runtime https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/go/runtime.yaml --wait
110110```
111111
112112Lambda function available via http events
Original file line number Diff line number Diff line change @@ -84,26 +84,26 @@ func NewTable() *SamplesTable {
8484 return & SamplesTable {
8585 "python" : service {
8686 source : "handler.py" ,
87- runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/python-3.7 /runtime.yaml" ,
87+ runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/python37 /runtime.yaml" ,
8888 function : pythonFunc ,
8989 handler : "handler.endpoint" ,
9090 apiGateway : true ,
9191 },
9292 "go" : service {
9393 source : "main.go" ,
94- runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/go-1.x /runtime.yaml" ,
94+ runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/go/runtime.yaml" ,
9595 function : golangFunc ,
9696 },
9797 "ruby" : service {
9898 source : "handler.rb" ,
99- runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/ruby-2.5 /runtime.yaml" ,
99+ runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/ruby25 /runtime.yaml" ,
100100 function : rubyFunc ,
101101 handler : "handler.endpoint" ,
102102 apiGateway : true ,
103103 },
104104 "node" : service {
105105 source : "handler.js" ,
106- runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/node-10.x /runtime.yaml" ,
106+ runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/node10 /runtime.yaml" ,
107107 function : nodejsFunc ,
108108 handler : "handler.sayHelloAsync" ,
109109 },
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func TestDeployAndDelete(t *testing.T) {
4848 Name : "test-service-taskrun" ,
4949 Namespace : namespace ,
5050 Source : "https://github.com/serverless/examples" ,
51- Runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/python-3.7 /runtime.yaml" ,
51+ Runtime : "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/python37 /runtime.yaml" ,
5252 BuildArgs : []string {"DIRECTORY=aws-python-simple-http-endpoint" , "HANDLER=handler.endpoint" },
5353 BuildTimeout : "15m" ,
5454 },
You can’t perform that action at this time.
0 commit comments