ingenieux/beanstalker

Support for PHP zip containers

Closed this issue · 3 comments

Would like to use beanstalker plugin to manage and deploy a PHP environment.

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_PHP_eb.html

EB tool is similar to beanstalker. The git aws integration for aws.push essentially uses git archive to create a zip file and upload that as a version to S3 which is then made the default version. If beanstalker supported a zip package from a specified directory as an alternate to a war package, then could use beanstalker for php?

Have you considered Docker? We've got some great samples around, and in
fact, we are even combining multiple application servers (e.g. java +
python) as long as they expose a single endpoint port

(We prefer docker because it helps you to isolate dependencies and not to
depend on the stack)

I'll look into Docker.

Zip file as a supported container type would be huge however. Would let us use the Amazon PHP Beanstalk nearly as-is without needing to customize too much.

I was able to get this to work using the maven-assembly-plugin and setting the beanstalker artifactId property with my generated zip file.