9 Commits

Author SHA1 Message Date
kei_sakamoto
dc39134463 docs: fix overwrite command
Signed-off-by: kei_sakamoto <kei_sakamoto@dwango.co.jp>
2021-01-08 15:43:40 +00:00
Alex Ellis (OpenFaaS Ltd)
862424e406 Document template schema
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-01-16 13:17:24 +00:00
Lucas Roesler
200359ce22 Update the cmd help txt and guide
**What**
- Update the help text and the template guide to document the behavior
of the URL fragement to pin the branch or tag

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-01-05 10:00:22 +00:00
Martin Dekov (VMware)
094806b821 Add template store describe
Adding template store describe command to output
the whole json template object aka. describing the
template

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-11-29 18:56:13 +00:00
Martin Dekov (VMware)
5b36c50280 Remove multiple repos feature
Removing multiple repositories pull feature for
simplicity along with adding information on the
command in TEMPLATE.md file

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-11-27 20:46:09 +00:00
Swarvanu Sengupta
5901d4c55d Add OPENFAAS_TEMPLATE_URL environment variable
This commit adds the OPENFAAS_TEMPLATE_URL environment variable for
overrides. The default template URL can be overriden in two places
including an environmental variable.

1st priority CLI input
2nd priority `OPENFAAS_TEMPLATE_URL` environmental variable

Signed-off-by: Swarvanu Sengupta <swarvanusg@gmail.com>
2018-09-01 18:05:26 +01:00
Minh-Quan TRAN
28019a2de5 Make dockerfile a language with a file in the repo
Signed-off-by: Alex Ellis <alexellis2@gmail.com>

mocked local template repository for test
update TEMPLATE.md to reflect that docker is a language
rename stack variable to stackYaml to avoid conflict with imported package

Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2018-01-24 08:21:01 +00:00
Lucas Roesler
4edf2958de Use exec to clone templates
**What**
- Add generic vcs support
- Add specific git support to pull templates from arbitrary git repos
- Add a global debug flag
- Update unit tests

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-01-19 08:47:08 +00:00
Eric Stoekl
343f76acc4 Adds 'faas-cli template pull' command
Pull language templates from any repo that has a 'template/' directory
in the root with 'faas-cli template pull <github repo>'.

Also allows 'faas-cli new --lang' to list available languages

Signed-off-by: Eric Stoekl <ems5311@gmail.com>
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2017-11-11 17:27:17 +00:00