ci(cd): expose build and post-deploy stages
This commit is contained in:
@@ -1071,8 +1071,10 @@
|
||||
"success": "Success"
|
||||
},
|
||||
"stage": {
|
||||
"buildDeploy": "Build and deploy",
|
||||
"codeReview": "Code review",
|
||||
"postDeploy": "Post deploy",
|
||||
"postDeployChecks": "Post deploy checks",
|
||||
"rolloutRisk": "Rollout risk recovered",
|
||||
"tests": "Tests"
|
||||
}
|
||||
|
||||
@@ -1072,8 +1072,10 @@
|
||||
"success": "成功"
|
||||
},
|
||||
"stage": {
|
||||
"buildDeploy": "建置與部署",
|
||||
"codeReview": "程式碼審查",
|
||||
"postDeploy": "部署後驗證",
|
||||
"postDeployChecks": "部署後驗證",
|
||||
"rolloutRisk": "部署風險已恢復",
|
||||
"tests": "測試"
|
||||
}
|
||||
|
||||
@@ -77,8 +77,10 @@ const CICD_STATUS_LABEL_KEYS: Record<string, string> = {
|
||||
}
|
||||
|
||||
const CICD_STAGE_LABEL_KEYS: Record<string, string> = {
|
||||
'build-and-deploy': 'cicd.stage.buildDeploy',
|
||||
'code-review': 'cicd.stage.codeReview',
|
||||
'post-deploy': 'cicd.stage.postDeploy',
|
||||
'post-deploy-checks': 'cicd.stage.postDeployChecks',
|
||||
'rollout-risk': 'cicd.stage.rolloutRisk',
|
||||
tests: 'cicd.stage.tests',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user