[Agent][Deploy] - cqsh

This commit is contained in:
zeaslity
2024-07-04 10:58:01 +08:00
parent 4e7422c32b
commit 1fd1cc8b29
32 changed files with 23808 additions and 58 deletions

View File

@@ -5,7 +5,6 @@ import (
"os"
"path/filepath"
"strings"
image2 "wdd.io/agent-common/image"
"wdd.io/agent-common/utils"
agent_deploy "wdd.io/agent-deploy"
"wdd.io/agent-deploy/z_dep"
@@ -22,17 +21,28 @@ func CmiiEnvDeploy(cmiiNamespace string, shouldDoCompleteDeploy bool, deploySpec
tenantEnv = split[len(split)-1]
}
// common environment
// chongqing sanhua
common := &z_dep.CommonEnvironmentConfig{
WebIP: "lab.uavcmlc.com",
WebPort: "",
HarborIP: image2.CmiiHarborPrefix,
WebIP: "36.133.115.164",
WebPort: "58888",
HarborIP: DirectPushDeployHarborHost + "/cmii/",
HarborPort: "",
Namespace: cmiiNamespace,
TagVersion: deploySpecificTag,
TenantEnv: tenantEnv,
ApplyFilePrefix: folderPrefix,
}
// common environment
//common := &z_dep.CommonEnvironmentConfig{
// WebIP: "lab.uavcmlc.com",
// WebPort: "",
// HarborIP: image2.CmiiHarborPrefix,
// HarborPort: "",
// Namespace: cmiiNamespace,
// TagVersion: deploySpecificTag,
// TenantEnv: tenantEnv,
// ApplyFilePrefix: folderPrefix,
//}
var backendMap map[string]string
var frontendMap map[string]string