[Deploy]-新增资阳GA
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
|
||||
image2 "wdd.io/agent-common/image"
|
||||
"wdd.io/agent-common/utils"
|
||||
agentdeploy "wdd.io/agent-deploy"
|
||||
@@ -13,12 +14,12 @@ import (
|
||||
"wdd.io/agent-operator/image"
|
||||
)
|
||||
|
||||
var DeployFilePrefix = "/home/wdd/IdeaProjects/ProjectOctopus/agent-common/real_project/"
|
||||
var DeployFilePrefix = "/root/wddproject/ProjectOctopus/agent-common/real_project/"
|
||||
|
||||
func init() {
|
||||
switch runtime.GOOS {
|
||||
case "linux":
|
||||
DeployFilePrefix = "/home/wdd/IdeaProjects/ProjectOctopus/agent-common/real_project/"
|
||||
DeployFilePrefix = "/root/wddproject/ProjectOctopus/agent-common/real_project/"
|
||||
case "windows":
|
||||
DeployFilePrefix = "C:\\Users\\wddsh\\Documents\\IdeaProjects\\ProjectOctopus\\agent-common\\real_project\\"
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
image2 "wdd.io/agent-common/image"
|
||||
"wdd.io/agent-common/real_project"
|
||||
"wdd.io/agent-common/real_project/zhejianyidong_erjipingtai"
|
||||
@@ -86,6 +87,27 @@ func TestCmiiEnvDeploy_ZheJiangYiDongErJiPingTai(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestCmiiEnvDeploy_ZiyangTongGan(t *testing.T) {
|
||||
|
||||
// 资阳通感
|
||||
commonEnv := &z_dep.CommonEnvironmentConfig{
|
||||
WebIP: "80.192.1.46",
|
||||
WebPort: "8088",
|
||||
HarborIPOrCustomImagePrefix: "80.192.1.46",
|
||||
HarborPort: "8033",
|
||||
Namespace: "zygajg",
|
||||
TagVersion: "6.0.0",
|
||||
TenantEnv: "",
|
||||
MinioPublicIP: "",
|
||||
MinioInnerIP: "80.192.1.48",
|
||||
NFSServerIP: "80.192.1.48",
|
||||
ApplyFilePrefix: "/root/wddproject/ProjectOctopus/agent-common/real_project/zygajg",
|
||||
}
|
||||
|
||||
CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii600ImageList)
|
||||
|
||||
}
|
||||
|
||||
func TestCmiiEnvDeploy_JiChengCeShiHuanJing(t *testing.T) {
|
||||
|
||||
// 2024上线测试-集成测试环境
|
||||
|
||||
Reference in New Issue
Block a user