[Deploy]-新增资阳GA

This commit is contained in:
zeaslity
2024-11-04 10:21:19 +08:00
parent 82bdcca604
commit 98b0e14304
34 changed files with 25972 additions and 2 deletions

View File

@@ -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\\"