[ Agent ] [ Executor ] - 新增InstallHarbor部分
This commit is contained in:
@@ -967,7 +967,7 @@ func (op *AgentOsOperator) installHarbor() [][]string {
|
||||
func (op *AgentOsOperator) installHarborExec() (bool, []string) {
|
||||
|
||||
// check docker-compose
|
||||
if !BasicCommandExists("docker-compose") {
|
||||
if !BasicFileExistAndNotNull("/usr/local/bin/docker-compose") {
|
||||
return false, []string{
|
||||
"docker-compose uninstalled ! can't install harbor!",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user