[agent-deploy] - xzyd project
This commit is contained in:
@@ -3,6 +3,9 @@ package deploy
|
||||
import (
|
||||
"os"
|
||||
"wdd.io/agent-common/logger"
|
||||
"wdd.io/agent-operator/deploy/a_dashboard"
|
||||
"wdd.io/agent-operator/deploy/a_nfs"
|
||||
"wdd.io/agent-operator/deploy/b_middle"
|
||||
"wdd.io/agent-operator/deploy/c_app"
|
||||
"wdd.io/agent-operator/deploy/z_dep"
|
||||
"wdd.io/agent-operator/image"
|
||||
@@ -15,42 +18,42 @@ func OctopusDeploy() {
|
||||
|
||||
// common environment
|
||||
common := &z_dep.CommonEnvironmentConfig{
|
||||
WebIP: "10.100.2.121",
|
||||
WebIP: "36.133.201.78",
|
||||
WebPort: "8888",
|
||||
HarborIP: "10.100.2.121",
|
||||
HarborIP: "192.168.0.14",
|
||||
HarborPort: "8033",
|
||||
Namespace: "zjjt",
|
||||
Namespace: "xjyd",
|
||||
TagVersion: "5.5.0",
|
||||
TenantEnv: "",
|
||||
MinioPublicIP: "10.100.2.116",
|
||||
MinioInnerIP: "10.100.2.116",
|
||||
NFSServerIP: "10.100.2.121",
|
||||
MinioPublicIP: "36.133.201.146",
|
||||
MinioInnerIP: "192.168.0.21",
|
||||
NFSServerIP: "192.168.0.14",
|
||||
}
|
||||
|
||||
//a_dashboard.K8sDashboardDeploy(common)
|
||||
//
|
||||
//a_nfs.NFSDeploy(common)
|
||||
//a_nfs.NFSTestDeploy(common)
|
||||
//
|
||||
//// pvc
|
||||
//b_middle.PVCDeploy(common)
|
||||
//
|
||||
//// middlewares
|
||||
//b_middle.MidMySQlDeploy(common)
|
||||
//b_middle.MidRedisDeploy(common)
|
||||
//b_middle.MidEmqxDeploy(common)
|
||||
//b_middle.MidMongoDeploy(common)
|
||||
//b_middle.MidRabbitMQDeploy(common)
|
||||
//b_middle.MidRabbitMQDeploy(common)
|
||||
//b_middle.MidNacosDeploy(common)
|
||||
//
|
||||
//configMapDeploy(common)
|
||||
//c_app.IngressDeploy(common)
|
||||
//
|
||||
//frontendImageVersionMap, backendImageVersionMap := image.FrontendBackendImageMapFromCmiiImageMap(zjjt.CmiiImageMap)
|
||||
//
|
||||
//backendDeploy(common, backendImageVersionMap)
|
||||
//frontendDeploy(common, frontendImageVersionMap)
|
||||
a_dashboard.K8sDashboardDeploy(common)
|
||||
|
||||
a_nfs.NFSDeploy(common)
|
||||
a_nfs.NFSTestDeploy(common)
|
||||
|
||||
// pvc
|
||||
b_middle.PVCDeploy(common)
|
||||
|
||||
// middlewares
|
||||
b_middle.MidMySQlDeploy(common)
|
||||
b_middle.MidRedisDeploy(common)
|
||||
b_middle.MidEmqxDeploy(common)
|
||||
b_middle.MidMongoDeploy(common)
|
||||
b_middle.MidRabbitMQDeploy(common)
|
||||
b_middle.MidRabbitMQDeploy(common)
|
||||
b_middle.MidNacosDeploy(common)
|
||||
|
||||
configMapDeploy(common)
|
||||
c_app.IngressDeploy(common)
|
||||
|
||||
frontendImageVersionMap, backendImageVersionMap := image.FrontendBackendImageMapFromCmiiImageMap(zjjt.CmiiImageMap)
|
||||
|
||||
backendDeploy(common, backendImageVersionMap)
|
||||
frontendDeploy(common, frontendImageVersionMap)
|
||||
c_app.SRSDeploy(common)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user