\CapistranoDeploymentBackend
Synopsis
class CapistranoDeploymentBackend
extends Object
implements
DeploymentBackend
{
- // members
- protected $packageGenerator;
- // methods
- public void getPackageGenerator()
- public void setPackageGenerator()
- public void deploy()
- public void enableMaintenance()
- public void disableMaintenance()
- public void ping()
- public void dataTransfer()
- public Process getCommand()
- protected void dataTransferBackup()
- public void rebuild()
- protected void dataTransferRestore()
Hierarchy
Members
protected
- $packageGenerator
Methods
protected
- dataTransferBackup() — Backs up database and/or assets to a designated folder, and packs up the files into a single sspak.
- dataTransferRestore() — Extracts a *.sspak file referenced through the passed in $dataTransfer and pushes it to the environment referenced in $dataTransfer.
public
- dataTransfer()
- deploy() — Deploy the given build to the given environment.
- disableMaintenance() — Disable the maintenance page for the given environment using the maintenance:disable Capistrano task.
- enableMaintenance() — Enable a maintenance page for the given environment using the maintenance:enable Capistrano task.
- getCommand()
- getPackageGenerator()
- ping() — Check the status using the deploy:check capistrano method
- rebuild() — Utility function for triggering the db rebuild and flush.
- setPackageGenerator()