Przeglądaj źródła

fix:修改了流水线mysql对应的版本

xuxiaopang 2 lat temu
rodzic
commit
1d95ade793

+ 1 - 1
web/src/main/java/cn/seecoder/web/core/pipeline/handler/MysqlDeployHandler.java

@@ -52,7 +52,7 @@ public class MysqlDeployHandler extends AbstractHandler{
         limitRangeApi = SpringUtil.getBean(LimitRangeApi.class);
     }
 
-    private String version = "5.7";
+    private String version = "8.0";
 
     private Integer port = 3306;
 

+ 0 - 3
web/src/main/java/cn/seecoder/web/service/impl/pipeline/DeploymentServiceImpl.java

@@ -152,8 +152,6 @@ public class DeploymentServiceImpl implements DeploymentService {
                 deploymentMapper.update(deployment);
             }
         }
-        log.info("{}号流水线部署完成",record.getPipelineId());
-        log.info("对应namespace为{}",projectPO.getUniqueK8sNamespace());
 
         Pipeline pipeline = null;
         try {
@@ -162,7 +160,6 @@ public class DeploymentServiceImpl implements DeploymentService {
             pipeline.start();
             record.setResult(PipelineRecordPO.DEPLOY_SUCCESS);
             record.setDetails(pipeline.getContext().getResult());
-            log.info("流水线部署成功");
         } catch (PipelineException e) {
             record.setResult(PipelineRecordPO.DEPLOY_FAIL);
             record.setDetails(pipeline.getContext().getResult());