메소드 |
설명 |
|
buildScript ( DeployStep $step, Server $server ) : Runner |
Generates the actual bash commands to run on the server. |
|
cancelPendingSteps ( ) |
Finds all pending steps and marks them as cancelled. |
|
cleanupDeployment ( ) |
Remove left over artifacts from a failed deploy on each server. |
|
configurationFileCommands ( string $release_dir ) : string |
create the command for sending uploaded files. |
|
createReleaseArchive ( ) |
Creates the archive for the commit to deploy. |
|
getScriptForStep ( DeployStep $step, array $tokens = [] ) : Runner |
Gets the process which is used for the supplied step. |
|
getTokenList ( DeployStep $step, Server $server ) : array |
Generates the list of tokens for the scripts. |
|
logError ( string $message ) : string |
Generates an error string to log to the DB. |
|
logSuccess ( string $message ) : string |
Generates an general output string to log to the DB. |
|
runStep ( DeployStep $step ) |
Executes the commands for a step. |
|
sendFile ( string $local_file, string $remote_file, ServerLog $log ) |
Sends a file to a remote server. |
|
sendFileFromString ( string $remote_path, string $content, ServerLog $log ) |
Send a string to server. |
|
sendFilesForStep ( DeployStep $step, ServerLog $log ) |
Sends the files needed to the server. |
|
shareFileCommands ( string $release_dir, string $shared_dir ) : string |
Create the script for shared files. |
|
updateRepoInfo ( ) |
Clones the repository locally to get the latest log entry and updates
the deployment model. |
|