[Agent][Deploy] - cmii update

This commit is contained in:
zeaslity
2024-06-12 14:09:49 +08:00
parent 4b782328db
commit f1fdfc7777
15 changed files with 51 additions and 17 deletions

View File

@@ -164,3 +164,30 @@ func configMapDeploy(common *z_dep.CommonEnvironmentConfig) {
c_app.DefaultCmiiFrontendConfig.ConfigMapDeploy(common)
}
}
// CmiiEnvironmentDeploy 部署完整的CMII环境的所有组件
func CmiiEnvironmentDeploy() {
// common environment
common := &z_dep.CommonEnvironmentConfig{
WebIP: "lab.uavcmlc.com",
WebPort: "",
HarborIP: image2.CmiiHarborPrefix,
HarborPort: "",
Namespace: "devflight",
TagVersion: "5.5.0",
TenantEnv: "devflight",
}
folderPrefix := "/home/wdd/IdeaProjects/ProjectOctopus/agent-deploy/"
// clear old apply file
// clear all middleware data
// ignore redis rabbitmq mongo nacos emqx
// sync mysql-data
// generate new apply file for specific environment
// apply for them
}