-
Notifications
You must be signed in to change notification settings - Fork 0
/
serverless.yaml
40 lines (34 loc) · 1.13 KB
/
serverless.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
service: tm-demo
description: "serverless.yaml deployment test"
provider:
name: triggermesh
environment:
FOO: BAR
functions:
go-openfaas:
source: go-openfaas/main.go
runtime: https://raw.githubusercontent.com/triggermesh/openfaas-runtime/master/go/openfaas-go-runtime.yaml
environment:
FUNCTION: bar
go-lambda:
source: go-lambda/main.go
runtime: https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/go/runtime.yaml
environment:
foo: bar
nodejs-openfaas:
source: https://github.com/openfaas/faas
runtime: https://raw.githubusercontent.com/triggermesh/openfaas-runtime/master/nodejs/openfaas-nodejs-runtime.yaml
description: "nodejs fragment"
buildargs:
- DIRECTORY=sample-functions/BaseFunctions/node
environment:
FUNCTION: nodejs
nodejs-lambda:
source: nodejs-lambda/handler.js
runtime: https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/node10/runtime.yaml
buildargs:
- HANDLER=handler.sayHelloAsync
environment:
foo: bar
include:
- https://github.com/tzununbekov/serverless-include