메소드 | 설명 | |
---|---|---|
ansibleCopyFiles ( |
将多个文件/目录通过tar + ansible传输到指定的多个目标机 | |
cleanUpLocal ( $version ) : boolean | integer | 收尾做处理工作,如清理本地的部署空间 | |
getFileMd5 ( $file ) : boolean | 获取文件的MD5 | |
getLinkCommand ( null $version ) : boolean | 打软链 | |
initLocalWorkspace ( |
初始化宿主机部署工作空间 | |
initRemoteVersion ( $version ) : boolean | 目标机器的版本库初始化 git 和 svn 没有任何区别, 只初始空目录 | |
removeLocalProjectWorkspace ( $projectDir ) : boolean | integer | 删除本地项目空间 | |
scpCopyFiles ( |
将多个文件/目录通过tar + scp传输到指定的多个目标机 |
메소드 | 설명 | |
---|---|---|
_copyPackageToServer ( $remoteHost, |
||
_copyPackageToServerByAnsible ( |
||
_packageFiles ( |
||
_unpackageFiles ( |
||
_unpackageFilesByAnsible ( |
||
excludes ( array $excludes ) : string | rsync时,要排除的文件 |
protected _copyPackageToServer ( $remoteHost, |
||
$remoteHost | ||
$project | ||
$task | ||
리턴 | boolean |
protected _copyPackageToServerByAnsible ( |
||
$project | ||
$task | ||
리턴 | boolean |
protected _packageFiles ( |
||
$project | ||
$task | ||
리턴 | boolean |
protected _unpackageFiles ( |
||
$project | ||
$task | ||
리턴 | boolean |
protected _unpackageFilesByAnsible ( |
||
$project | ||
$task | ||
리턴 | boolean |
public ansibleCopyFiles ( |
||
$project | ||
$task | ||
리턴 | boolean |
public cleanUpLocal ( $version ) : boolean | integer | ||
$version | ||
리턴 | boolean | integer |
public getLinkCommand ( null $version ) : boolean | ||
$version | null | |
리턴 | boolean |
public initLocalWorkspace ( |
||
$task | ||
리턴 | boolean | integer |
public initRemoteVersion ( $version ) : boolean | ||
리턴 | boolean |
public removeLocalProjectWorkspace ( $projectDir ) : boolean | integer | ||
$projectDir | ||
리턴 | boolean | integer |
public scpCopyFiles ( |
||
$project | ||
$task | ||
리턴 | boolean |