Commit 82c5ca7c authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix indentation of exemplary serverless.yml config

parent bfd17bca
...@@ -150,29 +150,29 @@ Follow these steps to deploy a function using the Node.js runtime to your Knativ ...@@ -150,29 +150,29 @@ Follow these steps to deploy a function using the Node.js runtime to your Knativ
environment: environment:
FOO: value FOO: value
functions: functions:
echo-js: echo-js:
handler: echo-js handler: echo-js
source: ./echo-js source: ./echo-js
runtime: https://gitlab.com/gitlab-org/serverless/runtimes/nodejs runtime: https://gitlab.com/gitlab-org/serverless/runtimes/nodejs
description: "node.js runtime function" description: "node.js runtime function"
environment: environment:
MY_FUNCTION: echo-js MY_FUNCTION: echo-js
echo-rb: echo-rb:
handler: MyEcho.my_function handler: MyEcho.my_function
source: ./echo-rb source: ./echo-rb
runtime: https://gitlab.com/gitlab-org/serverless/runtimes/ruby runtime: https://gitlab.com/gitlab-org/serverless/runtimes/ruby
description: "Ruby runtime function" description: "Ruby runtime function"
environment: environment:
MY_FUNCTION: echo-rb MY_FUNCTION: echo-rb
echo-docker: echo-docker:
handler: echo-docker handler: echo-docker
source: ./echo-docker source: ./echo-docker
description: "Dockerfile runtime function" description: "Dockerfile runtime function"
environment: environment:
MY_FUNCTION: echo-docker MY_FUNCTION: echo-docker
``` ```
Explanation of fields used above: Explanation of fields used above:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment