Méthode |
Description |
|
afterDelete ( ) |
添加数据删除事件afterDelete |
|
afterSave ( boolean $insert, array $changedAttributes ) |
添加数据保存事件afterSave |
|
attributeLabels ( ) |
|
|
behaviors ( ) |
|
|
getAnsibleHostsFile ( integer $projectId ) : string |
获取当前进程配置的ansible hosts文件路径 |
|
getAnsibleStatus ( ) : boolean |
获取当前进程配置的ansible状态 |
|
getConf ( $id = null ) : string | ActiveQuery |
获取当前进程的项目配置 |
|
getDeployFromDir ( ) : string |
拼接宿主机的仓库目录
{deploy_from}/{env}/{project} |
|
getDeployPackagePath ( $version ) : string |
获取 ansible 宿主机tar文件路径 |
|
getDeployWorkspace ( $version ) : string |
拼接宿主机的部署隔离工作空间
{deploy_from}/{env}/{project}-YYmmdd-HHiiss |
|
getGitProjectName ( $gitUrl ) : mixed |
根据git地址获取项目名字 |
|
getHosts ( ) |
获取当前进程配置的目标机器host列表 |
|
getReleaseVersionDir ( $version = '' ) : string |
拼接目标机要发布的目录
{release_library}/{project}/{version} |
|
getReleaseVersionPackage ( string $version = '' ) : string |
拼接目标机要发布的打包文件路径
{release_library}/{project}/{version}.tar.gz |
|
getSvnDeployBranchFromDir ( string $branchName = 'trunk' ) : string |
拼接宿主机的SVN仓库目录(带branches/tags目录) |
|
getTargetWorkspace ( ) : string |
获取目标机要发布的目录
{webroot} |
|
rules ( ) |
|
|
tableName ( ) |
|
|