Open vicary opened 3 years ago
Hello, I am writing PR based on your Issue. What information should be printed out to be of great help?
Thanks for making an effort. So in theory devOps pipelines should be programmatically friendly to parse, in general it should
${output:...}
in other components.Aha. So you want information like 'serverless info --debug' to be displayed in JSON or YAML format after the distribution pipeline is terminated?
Yes. Such that I can easily plug my own scripts to grep necessary information into our own CI/CD pipelines. For example I can send the ARN downstream to another repo that updates our k8s proxy.
Thanks for your help! Your answer is more help to this PR!
Glad to be of help!
Description
It should be a common use case to integrate Serverless Component into CI/CD pipelines, where outputs are usually parsed with scripts to further trigger other pipelines.
It would be really helpful if
serverless deploy
andserverless info
allows an option for output formats, such asserverless deploy --format json
.This option should implies skipping the deploying TUI progress bar, which also solves #834.