[ Agent ] [ BASE ] - add docker daemon config modify

This commit is contained in:
zeaslity
2023-11-21 11:11:08 +08:00
parent 2f5ae75d61
commit d01ce135df
4 changed files with 62 additions and 8 deletions

View File

@@ -39,6 +39,11 @@ public enum BaseFunctionEnum {
"安装Docker Compose, 默认为2.18.0版本"
),
MODIFY_DOCKER_CONFIG(
"modifyDockerConfig",
"修改docker daemon config, 参数为 Harbor服务器的IP"
),
INSTALL_HARBOR(
"installHarbor",
"安装Harbor, 默认为2.9.0版本"

View File

@@ -115,9 +115,10 @@ public class BaseFuncScheduler {
}
List<BaseFunctionEnum> masterNodeDurationTaskList = List.of(
BaseFunctionEnum.INSTALL_DOCKER,
BaseFunctionEnum.INSTALL_DOCKER_COMPOSE,
BaseFunctionEnum.INSTALL_HARBOR
BaseFunctionEnum.INSTALL_DEFAULT_SSH_KEY
// BaseFunctionEnum.INSTALL_DOCKER,
// BaseFunctionEnum.INSTALL_DOCKER_COMPOSE,
// BaseFunctionEnum.INSTALL_HARBOR
);
for (BaseFunctionEnum durationBaseFunc : masterNodeDurationTaskList) {
@@ -135,8 +136,6 @@ public class BaseFuncScheduler {
}
}
return true;
}

View File

@@ -53,11 +53,11 @@ public class TestBaseFuncScheduler {
projectDeployContext.setMasterNode(serverInfoPO);
// baseFuncScheduler.runProcedure(projectDeployContext);
baseFuncScheduler.runProcedure(projectDeployContext);
// harborFuncScheduler.runProcedure(projectDeployContext);
appFuncScheduler.runProcedure(projectDeployContext);
// appFuncScheduler.runProcedure(projectDeployContext);
}
}