Skip to content

Commit

Permalink
feat:保存流水线时,校验是否有子流水线循环依赖 TencentBlueKing#10479
Browse files Browse the repository at this point in the history
  • Loading branch information
hejieehe committed Oct 22, 2024
1 parent 1f28bf5 commit 8d7a7c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class SubPipelineRefDao {

fun batchDelete(
dslContext: DSLContext,
infos: List<Triple<String,String,String>>
infos: List<Triple<String, String, String>>
) {
if (infos.isEmpty()) {
return
Expand Down
2 changes: 1 addition & 1 deletion support-files/sql/1001_ci_process_ddl_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,6 @@ CREATE TABLE IF NOT EXISTS `T_PIPELINE_SUB_REF` (
`CONTAINER_SEQ` VARCHAR(100) DEFAULT NULL COMMENT '插件序号',
PRIMARY KEY (`PROJECT_ID`,`PIPELINE_ID`,`TASK_ID`),
KEY `T_SUB_PIPELINE_REF_PROJECT_ID_IDX` (`PROJECT_ID`,`PIPELINE_ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 COLLATE=UTF8MB4_0900_AI_CI COMMENT='子流水线依赖关系';
) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COMMENT='子流水线依赖关系';

SET FOREIGN_KEY_CHECKS = 1;

0 comments on commit 8d7a7c7

Please sign in to comment.