Make gitlab.com source implicit in a serverless runtime specification
Description
Currently to define a serverless function with a runtime, we need to provide following configuration:
functions:
echo:
handler: MyEcho.my_function
source: echo-rb/
runtime: https://gitlab.com/gitlab-org/serverless/runtimes/ruby
description: "echo function using Ruby runtime"
Proposal
Simplify it to:
-
gitlab/runtimes/ruby
which assumesgitlab-org/serverless/runtimes
as a source group - Still support custom runtimes, a user needs to provide a full URL like http://github.com/my/runtime
functions:
echo:
handler: MyEcho.my_function
source: echo-rb/
runtime: gitlab/runtimes/ruby
Documentation
Edited by Viktor Nagy (GitLab)