mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #479] [Feature] 0.3.0 在部署界面自动生成前置命令 #300
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#300
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bd-dxg on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/479
功能描述
在工作流中的部署界面, 应当自动设置证书自动备份(如果有), 就是根据前两者的证书路径来自动备份当前证书
动机
建立回滚机制, 如果证书发布失败或者部署失败, 至少有机会用原来的证书(距离证书过期应当还有一段时间)
替代方案
在前置命令中自动使用 cp /xxx /xxx.bak
其他信息
@fudiwei commented on GitHub (Mar 6, 2025):
备份文件这个可以有。
自动回滚这个没办法,边界条件太多了,真需要的话建议配合 ansible 这类工具,certimate 里搞这个既复杂又偏离本身的定位。
@bd-dxg commented on GitHub (Mar 6, 2025):
回滚这个不着急, 主要是这个自动备份可以搞一下
@kakou-2 commented on GitHub (Mar 14, 2025):
备份这个确实需要,目前是自己手输命令实现,可以内置就更好了。