Download the PHP package graviton/deploy-scripts without Composer
On this page you can find all versions of the php package graviton/deploy-scripts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package deploy-scripts
graviton/deploy-scripts
Installation
Install it using composer.
There is also a PHAR file for your convenience, located here. ;-)
Configuration
The configuration is to be done in app/config/deploy.yml
.
In order to configure this library you have to copy the deploy.yml.dist
to deploy.yml
and modify the latter
by replacing every value with your personal configuration.
PHAR building
In order to build a PHAR file, execute
The deploy.phar
will be created in build/
. This build/
folder can be pushed to the cloud by using deploy-scripts
on this repo
(probably using deploy.phar
itself *g)
Usage
Console command
To get an overview about every available command run:
In code
see tests ;)
Development
We welcome contributions as a pull request on the develop branch.
Add new Command
Commands need to be registered within bin/deploy see here
Available Commands
Cloud Foundry specific
- CheckApplicationCommand Determines, if a special Cloud Foundry application is alive.
- DeployCommand Deploys an application to a CF instance.
- RunCommand Runs a shell command on a CF instance. It does not clean up at the moment so you have to do it yourself by running:
Further ideas
evolve aGravitonDeployBundle
from this library.- provide the possibility to push to multiple Cloud Foundry instances at once by one command.
add incenteev Parameter handler (https://github.com/Incenteev/ParameterHandler) to be able to use env vars for config.
All versions of deploy-scripts with dependencies
symfony/process Version ^2.6 || ^3.0
symfony/config Version ^2.6 || ^3.0
incenteev/composer-parameter-handler Version ^2.1