[agent-wdd]-重构agent的bastion模式
This commit is contained in:
@@ -405,6 +405,27 @@ func TestCmiiEnvDeploy_YunNanErJiXin(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestCmiiEnvDeploy_ShenZhenGuiZiXiangMu(t *testing.T) {
|
||||
|
||||
// 深圳规自项目
|
||||
commonEnv := &z_dep.CommonEnvironmentConfig{
|
||||
WebIP: "39.129.174.66",
|
||||
WebPort: "8088",
|
||||
HarborIPOrCustomImagePrefix: "192.168.186.11",
|
||||
HarborPort: "8033",
|
||||
Namespace: "ynydapp",
|
||||
TagVersion: "6.1.0",
|
||||
TenantEnv: "",
|
||||
MinioPublicIP: "",
|
||||
MinioInnerIP: "192.168.186.15",
|
||||
NFSServerIP: "192.168.186.15",
|
||||
ApplyFilePrefix: "",
|
||||
}
|
||||
|
||||
CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii611ImageList)
|
||||
|
||||
}
|
||||
|
||||
func TestCmiiNewAppDeploy(t *testing.T) {
|
||||
|
||||
deployNamespace := config.DevOperation
|
||||
|
||||
@@ -22,7 +22,7 @@ func TestFetchDependencyRepos_Middle(t *testing.T) {
|
||||
|
||||
func TestFetchDependencyRepos_RKE(t *testing.T) {
|
||||
|
||||
errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, true, true)
|
||||
errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, false, true)
|
||||
|
||||
utils.BeautifulPrintListWithTitle(errorPullImageList, "errorPullImageList")
|
||||
utils.BeautifulPrintListWithTitle(errorGzipImageList, "errorGzipImageList")
|
||||
|
||||
@@ -271,7 +271,7 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) {
|
||||
|
||||
now := time.Now()
|
||||
|
||||
targetTime := time.Date(now.Year(), now.Month(), now.Day(), 17, 46, 00, 0, now.Location())
|
||||
targetTime := time.Date(now.Year(), now.Month(), now.Day(), 17, 23, 00, 0, now.Location())
|
||||
|
||||
duration := time.Duration(0)
|
||||
|
||||
@@ -292,7 +292,9 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) {
|
||||
|
||||
appNameTagMap := map[string]string{
|
||||
//"cmii-app-release": "6.1.0-122001",
|
||||
"cmii-uas-lifecycle": "6.2.0-master-1.1-012201",
|
||||
//"cmii-uav-platform-oms": "6.2.0-012201",
|
||||
//"cmii-uas-lifecycle": "6.2.0-012301",
|
||||
"cmii-uav-advanced5g": "6.2.0-master-012301",
|
||||
//"cmii-uav-platform-pilot2-to-cloud": "6.1.0-32030-123101",
|
||||
//"cmii-uav-industrial-portfolio": "6.1.0-20241125-121702",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user