Property | Type | Description | |
---|---|---|---|
$packageGenerator |
Method | Description | |
---|---|---|
dataTransfer ( DNDataTransfer $dataTransfer, DeploynautLogFile $log ) | ||
deploy ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project, array $options ) | Deploy the given build to the given environment. | |
disableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) | Disable the maintenance page for the given environment using the maintenance:disable Capistrano task. | |
enableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) | Enable a maintenance page for the given environment using the maintenance:enable Capistrano task. | |
getCommand ( string $action, string $roles, DNEnvironment $environment, array |
||
getDeployOptions ( DNEnvironment $environment ) : ArrayList | ||
getPackageGenerator ( ) | ||
ping ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) | Check the status using the deploy:check capistrano method | |
planDeploy ( DNEnvironment $environment, array $options ) : DeploymentStrategy | Create a deployment strategy. | |
rebuild ( DNEnvironment $environment, DeploynautLogFile $log ) | Utility function for triggering the db rebuild and flush. | |
setPackageGenerator ( PackageGenerator $packageGenerator ) |
Method | Description | |
---|---|---|
dataTransferBackup ( DNDataTransfer $dataTransfer, DeploynautLogFile $log ) | Backs up database and/or assets to a designated folder, and packs up the files into a single sspak. | |
dataTransferRestore ( string $workingDir, DNDataTransfer $dataTransfer, DeploynautLogFile $log ) | Extracts a *.sspak file referenced through the passed in $dataTransfer and pushes it to the environment referenced in $dataTransfer. | |
smokeTest ( DNEnvironment $environment, DeploynautLogFile $log ) : boolean | This is mostly copy-pasted from Anthill/Smoketest. |
Method | Description | |
---|---|---|
deployRollback ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project, $options, $args ) |
public dataTransfer ( DNDataTransfer $dataTransfer, DeploynautLogFile $log ) | ||
$dataTransfer | DNDataTransfer | |
$log | DeploynautLogFile |
protected dataTransferBackup ( DNDataTransfer $dataTransfer, DeploynautLogFile $log ) | ||
$dataTransfer | DNDataTransfer | |
$log | DeploynautLogFile |
protected dataTransferRestore ( string $workingDir, DNDataTransfer $dataTransfer, DeploynautLogFile $log ) | ||
$workingDir | string | Directory for the unpacked files. |
$dataTransfer | DNDataTransfer | |
$log | DeploynautLogFile |
public disableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) | ||
$environment | DNEnvironment | |
$log | DeploynautLogFile | |
$project | DNProject |
public enableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) | ||
$environment | DNEnvironment | |
$log | DeploynautLogFile | |
$project | DNProject |
public getCommand ( string $action, string $roles, DNEnvironment $environment, array |
||
$action | string | Capistrano action to be executed |
$roles | string | Defining a server role is required to target only the required servers. |
$environment | DNEnvironment | |
$args | array |
|
$log | DeploynautLogFile | |
return |
public getDeployOptions ( DNEnvironment $environment ) : ArrayList | ||
$environment | DNEnvironment | |
return | ArrayList |
public ping ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) | ||
$environment | DNEnvironment | |
$log | DeploynautLogFile | |
$project | DNProject |
public planDeploy ( DNEnvironment $environment, array $options ) : DeploymentStrategy | ||
$environment | DNEnvironment | |
$options | array | |
return | DeploymentStrategy |
public rebuild ( DNEnvironment $environment, DeploynautLogFile $log ) | ||
$environment | DNEnvironment | |
$log | DeploynautLogFile |
public setPackageGenerator ( PackageGenerator $packageGenerator ) | ||
$packageGenerator | PackageGenerator |