补齐完整发布备份模式参数
在 Full 流水线显式增加 DATABASE_BACKUP_MODE 参数 将备份模式原样透传到 SpacetimeDB 发布作业 增加生产运维门禁防止 Full 静默回退到异步备份 补充 release 禁止再次上传时必须选择 skip 的运维说明
This commit is contained in:
@@ -377,6 +377,18 @@ const checks = [
|
||||
"choice(name: 'STDB_API_ROLLOUT_MODE', choices: ['normal', 'pause-after-stdb']",
|
||||
reason: 'Full Build 的 04:00 定时任务必须默认 normal 完整发布仅供开发使用的 dev 服务器。',
|
||||
},
|
||||
{
|
||||
file: 'jenkins/Jenkinsfile.production-full-build-and-deploy',
|
||||
includes:
|
||||
"choice(name: 'DATABASE_BACKUP_MODE', choices: ['async', 'sync', 'skip']",
|
||||
reason: 'Full Build 必须显式暴露 Stdb publish 的备份策略。',
|
||||
},
|
||||
{
|
||||
file: 'jenkins/Jenkinsfile.production-full-build-and-deploy',
|
||||
includes:
|
||||
"string(name: 'DATABASE_BACKUP_MODE', value: params.DATABASE_BACKUP_MODE)",
|
||||
reason: 'Full Build 必须把备份策略透传给 Stdb Publish,不得静默回退为 async。',
|
||||
},
|
||||
{
|
||||
file: 'jenkins/Jenkinsfile.production-full-build-and-deploy',
|
||||
includes:
|
||||
|
||||
Reference in New Issue
Block a user