Метод | Описание | |
---|---|---|
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 |