[agent-deploy] - basic accomplish

This commit is contained in:
zeaslity
2024-04-25 16:44:40 +08:00
parent 4e5af5856a
commit 08e5a4d422
51 changed files with 8751 additions and 210 deletions

View File

@@ -82,7 +82,7 @@ DLTUHelp
func main() {
// C:\Users\wddsh\go\bin\gox.exe -osarch="linux/amd66" -output "build/operator_{{.OS}}_{{.Arch}}"
// C:\Users\wddsh\go\bin\gox.exe -osarch="linux/amd64" -output "build/operator_{{.OS}}_{{.Arch}}"
//RealProjectRunner()
@@ -130,9 +130,9 @@ func main() {
fmt.Println("harborHostFullName: ", harborHostFullName)
fmt.Println()
var downloadFromOss bool
if ossFileName != "" {
downloadFromOss = true
downloadFromOss := true
if ossFileName == "0" {
downloadFromOss = false
}
DownloadLoadTagPush(downloadFromOss, ossUrlPrefix, ossFileName, localGzipFolder, harborHostFullName)