Download the PHP package renegare/depipe without Composer
On this page you can find all versions of the php package renegare/depipe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package depipe
DePipe README
What is DePipe?
A cli tool that allows you to build, test and deploy an application server (and an experimental project to familiarise my self with aws-php-sdk v2+).
Well thats the goal ...
Basic Usage Examples:
Build Executable (depipe.phar)
Run Commands
Example configuration (YAML)
Requirements
CLI Structure
So ... still playing about with this idea ... but ... the project can be broken down to the following class types:
- Command (Task Master): Symfony based Command class, that relies on classes of type Task to do the work
- Task: The actual classes that do the work ... work here must be super concise and minimal. Working with AWS can be a pain and testing it all works is a pain!
Note: Everything is reasonably Psr\Log aware, makes it easier to know when something has gone wrong!
Building
Currently uses box-project to convert source into a single file executable (PHAR).
Given you have box and composer installed on your machine, you should be able to run which will compile (really zip up!) a phar ready for use :)
Test
Check out the repo and from the top level directory run the following command:
NOTE: You need composer installed on your machine
Help Needed
- [ ] Shell script to build the cli tool into a phar and optionally install it somewhere in a PATH
- [ ] Better arch idea around managing various cloud providers e.g rackspace (currently targeting aws)
- [ ] Better arch idea around testing + deploying to a shared host (not everyone needs to launch an instance per app release! #possiblyOutsideOfScope)
Road Map to v0.1.0 (prototype-release)
Cloud Platform Interfaces
- [x] App\Platform\ClientInterface
- [x] App\Platform\ImageInterface
- [x] App\Platform\InstanceInterface
- [x] App\Platform\LoadBalancerInterface
Aws Platform Concrete Classes
- [x] App\Platform\Aws\Client
- [x] App\Platform\Aws\Image
- [x] App\Platform\Aws\Instance
- [x] App\Platform\Aws\LoadBalancer
Release
- [x] tag v0.1.0
Road Map to v0.2.0 (useful-release)
- [ ] Review goals below (make it more feasible)
Configuration (depipe.yml.dist)
- [ ] pipes need to clean up after themselves
-
- [ ] Review current pipe configuration (but retain simplicity)
- [ ] Review configuration options (instance.access needs to be mutable and not crash)
- [ ] pipes that create/modify (not including search or destructive pipes) should be able to reverse/undo what they have done?
- [ ] file upload component ... remove string regex madness!
- [ ] pipelines: multi pipe line configuration (run one or all at the same damn time #Future)
- Run pipelines in isolated processes (however they all start from the root config)
- Allow special @wait param in pipe config (wait for an event in a parallel pipeline - #maybeToAmbitious)
- [ ] Documentation of usage (better examples)
- [ ] Replace references to internal classes within depipe to shorthand key names / enum
- [ ] get rid of "symfony/http-foundation" dep
- [ ] update all deps to latest (if beneficial)
Commands
- [ ] kill - terminate instances
- [ ] delete - delete an image
- [ ] find:instances - find instances
- [ ] find:image - find instances (half done ... but needs a rethink)
Release
- [ ] tag v0.2.0
Road Map to v0.3.0 (security-release)
- [ ] Hmmm ...
Road Map to v0.4.0 (vendor-independant-release)
- [ ] Review vendor specific classes, normalize and simplify
- [ ] Create another vender set of classes (rackspace? digital ocean?)
- [ ] Documentation of classes
All versions of depipe with dependencies
psr/log Version 1.0.0
monolog/monolog Version >=v1
symfony/console Version >=v2.4
symfony/yaml Version >=v2.4.4
aws/aws-sdk-php Version 2.6.0
phpseclib/phpseclib Version 0.3.6
symfony/http-foundation Version v2.4.5