-
Notifications
You must be signed in to change notification settings - Fork 227
Comparing changes
Open a pull request
base repository: openfaas/faas-cli
base: 0.17.0
head repository: openfaas/faas-cli
compare: 0.17.1
- 11 commits
- 62 files changed
- 1 contributor
Commits on Jan 23, 2025
-
Pull templates from store when not present
Implements a user-experience changes: faas-cli new - when the templates folder is not present the language will be looked up in the template store using the default URL or an overriden one. faas-cli publish - when no template folder is available then a pull will be carried out if a configuration section is present with a template given within in Filtering - whilst there is no way to avoid pulling all the templates wihtin a repository, only the requested/needed ones are expanded by commands like faas-cli new. Tested mainly with existing-unit tests, faas-cli new / publish with and without a templates folder. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 15ae2e3 - Browse repository at this point
Copy the full SHA 15ae2e3View commit details -
Switch out ruby for dockerfile in tests
The tests relied on ruby being a long term template in the templates repository, however we are moving to a model with a repository per template, and this template has gone to EOL. The Dockerfile template makes sense as a replacement and is still supported. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ef9c610 - Browse repository at this point
Copy the full SHA ef9c610View commit details -
Make test more accurate by fixing URLs
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7fdb7f7 - Browse repository at this point
Copy the full SHA 7fdb7f7View commit details -
Accept stack.yaml as a default file if present
Requested by @welteki, if stack.yml is present then it is taken to be the default with a --yaml/-f argument being needed. This change also looks for stack.yaml as a valid alternative name. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c4e4ff9 - Browse repository at this point
Copy the full SHA c4e4ff9View commit details -
Update CI test to use python3-http instead of EOL template
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0b5ae5a - Browse repository at this point
Copy the full SHA 0b5ae5aView commit details -
Name template from python3 to python3-http
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6eeded5 - Browse repository at this point
Copy the full SHA 6eeded5View commit details -
Fail integration test early through set mechanisms
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d3c89eb - Browse repository at this point
Copy the full SHA d3c89ebView commit details -
Better error handling and Handle potential permissions issue
err could be nil, so it is checked before checking for the type of error. This may not be needed, but is a better default to establish since code is often copied by new contributors when adding features. Addresses comment by @rgee0 for handling error from stat. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 11885ac - Browse repository at this point
Copy the full SHA 11885acView commit details -
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 13a967a - Browse repository at this point
Copy the full SHA 13a967aView commit details
Commits on Jan 27, 2025
-
Update faas-cli new to use stack.yaml
Updates faas-cli new to create a stack.yaml file instead of a YAML file named after the function. This is to help users discover that stack.yaml does not require a --yaml or -f flag which can become cumbersome. When a stack.yaml or the file specified via -f already exists the new command will now prompt users to use --append Convert to SHA256 signatures for the invoke command This is a convenience option for invoking functions along with a signature, if a function accepts one. They should all have been moved to sha256 now if they were even using it Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for acb912d - Browse repository at this point
Copy the full SHA acb912dView commit details -
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1ca7ded - Browse repository at this point
Copy the full SHA 1ca7dedView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.17.0...0.17.1