feat: 增加发布策略校验
- projects: 为环境补充 releasePolicy 和 refPattern,区分 branch、tag、master 发布策略 - deploy-runs: 创建发布单前校验项目状态、环境和 ref 规则 - repository: 数据库读取路径补齐发布策略推断
This commit is contained in:
@@ -19,6 +19,8 @@ describe('DeployExecutionService', () => {
|
||||
name: 'test',
|
||||
displayName: '测试环境',
|
||||
jenkinsJobPath: 'my-project-dev/test-access-manage-develop',
|
||||
releasePolicy: 'branch',
|
||||
refPattern: '^(develop|feature/.+|hotfix/.+)$',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user