diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-04-03 16:18:34 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-04-03 16:19:54 +0200 |
commit | 82c5ca7caf6d42ae12c76332c449610d42dccfa5 (patch) | |
tree | c511089965b93394b72c83926eba5fb188c09121 /doc | |
parent | bfd17bca5dda92936f99722a45b261f2b343ab2c (diff) | |
download | gitlab-ce-82c5ca7caf6d42ae12c76332c449610d42dccfa5.tar.gz |
Fix indentation of exemplary serverless.yml config
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/clusters/serverless/index.md | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/user/project/clusters/serverless/index.md b/doc/user/project/clusters/serverless/index.md index c374acd4915..f2cb619cb15 100644 --- a/doc/user/project/clusters/serverless/index.md +++ b/doc/user/project/clusters/serverless/index.md @@ -150,29 +150,29 @@ Follow these steps to deploy a function using the Node.js runtime to your Knativ environment: FOO: value - functions: - echo-js: - handler: echo-js - source: ./echo-js - runtime: https://gitlab.com/gitlab-org/serverless/runtimes/nodejs - description: "node.js runtime function" - environment: - MY_FUNCTION: echo-js - - echo-rb: - handler: MyEcho.my_function - source: ./echo-rb - runtime: https://gitlab.com/gitlab-org/serverless/runtimes/ruby - description: "Ruby runtime function" - environment: - MY_FUNCTION: echo-rb - - echo-docker: - handler: echo-docker - source: ./echo-docker - description: "Dockerfile runtime function" - environment: - MY_FUNCTION: echo-docker + functions: + echo-js: + handler: echo-js + source: ./echo-js + runtime: https://gitlab.com/gitlab-org/serverless/runtimes/nodejs + description: "node.js runtime function" + environment: + MY_FUNCTION: echo-js + + echo-rb: + handler: MyEcho.my_function + source: ./echo-rb + runtime: https://gitlab.com/gitlab-org/serverless/runtimes/ruby + description: "Ruby runtime function" + environment: + MY_FUNCTION: echo-rb + + echo-docker: + handler: echo-docker + source: ./echo-docker + description: "Dockerfile runtime function" + environment: + MY_FUNCTION: echo-docker ``` Explanation of fields used above: |