Closed ad-si closed 3 years ago
Thank you for your suggestion.
Are you aware that you can use any filename with the -f or --yaml override?
Moving to CLI repo
Are you aware that you can use any filename with the -f or --yaml override?
Yes, but I'm a fan (maybe wrongfully) of convention over configuration. So I'd rather like to have good conventions and stick to them…
That's our philosophy, however what you're asking for is starting to look a little bit like configuration. Our convention to date is stack.yml.
Hope this will keep you moving forward. I'm happy to monitor demand for this request
+1
Even other tools like Travis or Gitlab CI use .travis.yml
and .gitlab.yml
to prevent conflicts. I realize it's not hard to work around, but in principle it's a little weird to trample on a config file Haskell has used for years now.
/lock: won't fix
@ad-si you're welcome to rename your YAML files to openfaas.yaml and to run faas-cli up -f openfaas.yaml
etc
Haskell's Stackage (https://www.stackage.org/) has been using the
stack.yaml
file name for ages. While there is certainly no exclusive right for Stackage to use this name, it would be nonetheless cool if OpenFaaS used something more descriptive. How about usingopenfaas.yaml
instead of -- or at least in addition to --stack.yaml
?