Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s plan能力 #451

Closed
lowkeyrd opened this issue Nov 15, 2021 · 2 comments
Closed

s plan能力 #451

lowkeyrd opened this issue Nov 15, 2021 · 2 comments

Comments

@lowkeyrd
Copy link
Contributor

类似Terraform plan,s remove时可以调用plan方法,一次性给出本次操作的影响。
不一定做到terraform plan 那么通用,但应该针对fc,把资源变化的影响面解释的更好。

现在的情况是,每次部署时会检查线上存在同名的service或者function,如果存在提示用户选择使用local还是remote。
这个体验不是太好:

  1. 没有给出线上和本地的差异,只是判断是否存在同名资源
  2. 我即使什么都没修改,重复执行s deploy时都会给出这个提示,被中断的体验就不是太好
    image

增加单独的s plan命令,会把这个问题轻松化解,无论s deploy、s remove还是应用中心发布 都给出livediff,这个体验会做的非常一致

@anycodes
Copy link
Contributor

我觉得这个功能是可以有的,我们可以讨论设计一下。

@anycodes
Copy link
Contributor

完善流程:

  1. fork项目到自己仓库
  2. jiangyu-docs分支下面的对应的文档内容进行完善
  3. 提pr到仓库的jiangyu-docs,指定anycodes / [email protected]来review,并在群里告知

完善内容:

  1. 文档的参数描述
  2. 权限相关的描述

其他:有任何问题,请随时与 江昱 / Anycodes 联系

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants