[ Agent ] [ App ] - fix some bugs
This commit is contained in:
@@ -99,11 +99,11 @@ public class AppFuncScheduler {
|
||||
List<AppFunctionEnum> appFunctionEnumList = List.of(
|
||||
// AppFunctionEnum.DEPLOY_RKE
|
||||
// AppFunctionEnum.DEPLOY_TEST_NFS
|
||||
// AppFunctionEnum.DEPLOY_K8S_NAMESPACE,
|
||||
// AppFunctionEnum.DEPLOY_K8S_MYSQL
|
||||
AppFunctionEnum.DEPLOY_K8S_NAMESPACE,
|
||||
AppFunctionEnum.DEPLOY_K8S_MYSQL
|
||||
// AppFunctionEnum.DEPLOY_K8S_REDIS
|
||||
// AppFunctionEnum.DEPLOY_K8S_PVC
|
||||
AppFunctionEnum.LOAD_MYSQL_INIT_SCRIPT
|
||||
// AppFunctionEnum.LOAD_MYSQL_INIT_SCRIPT
|
||||
);
|
||||
|
||||
|
||||
|
||||
@@ -95,11 +95,12 @@ public class BaseFuncScheduler {
|
||||
|
||||
|
||||
List<BaseFunctionEnum> masterNodeProcedureList = List.of(
|
||||
// BaseFunctionEnum.DISABLE_SWAP,
|
||||
// BaseFunctionEnum.SHUTDOWN_FIREWALL,
|
||||
// BaseFunctionEnum.INSTALL_CHRONY,
|
||||
// BaseFunctionEnum.CHRONY_TO_PUBLIC_NTP,
|
||||
// BaseFunctionEnum.INSTALL_DEFAULT_SSH_KEY,
|
||||
BaseFunctionEnum.DISABLE_SWAP,
|
||||
BaseFunctionEnum.SHUTDOWN_FIREWALL,
|
||||
BaseFunctionEnum.INSTALL_CHRONY,
|
||||
BaseFunctionEnum.CHRONY_TO_PUBLIC_NTP,
|
||||
BaseFunctionEnum.INSTALL_DEFAULT_SSH_KEY,
|
||||
BaseFunctionEnum.MODIFY_DOCKER_CONFIG
|
||||
// BaseFunctionEnum.INSTALL_HARBOR,
|
||||
// BaseFunctionEnum.INSTALL_ZSH
|
||||
|
||||
@@ -131,10 +132,10 @@ public class BaseFuncScheduler {
|
||||
}
|
||||
|
||||
List<BaseFunctionEnum> masterNodeDurationTaskList = List.of(
|
||||
BaseFunctionEnum.INSTALL_NFS_SERVER_ONLINE
|
||||
// BaseFunctionEnum.INSTALL_DOCKER,
|
||||
// BaseFunctionEnum.INSTALL_DOCKER_COMPOSE,
|
||||
// BaseFunctionEnum.INSTALL_HARBOR
|
||||
BaseFunctionEnum.INSTALL_NFS_SERVER_ONLINE,
|
||||
BaseFunctionEnum.INSTALL_DOCKER,
|
||||
BaseFunctionEnum.INSTALL_DOCKER_COMPOSE,
|
||||
BaseFunctionEnum.INSTALL_HARBOR
|
||||
);
|
||||
|
||||
for (BaseFunctionEnum durationBaseFunc : masterNodeDurationTaskList) {
|
||||
|
||||
@@ -55,15 +55,15 @@ public class HarborFuncScheduler {
|
||||
.getTopicName();
|
||||
|
||||
// create harbor project
|
||||
// if (!CreateHarborProject(projectDeployContext)) {
|
||||
// log.error("create harbor project failed !");
|
||||
// }
|
||||
if (!CreateHarborProject(projectDeployContext)) {
|
||||
log.error("create harbor project failed !");
|
||||
}
|
||||
|
||||
// check harbor project
|
||||
// list
|
||||
// if (!ListHarborProject(projectDeployContext)) {
|
||||
// log.error("list harbor project failed !");
|
||||
// }
|
||||
if (!ListHarborProject(projectDeployContext)) {
|
||||
log.error("list harbor project failed !");
|
||||
}
|
||||
|
||||
int maxSyncStatusCheckCount = 1000;
|
||||
int timePinch = 2;
|
||||
|
||||
Reference in New Issue
Block a user