2017 © Pedro Peláez
 

library phing-aws

A set of tasks for AWS integration with Phing

image

corley/phing-aws

A set of tasks for AWS integration with Phing

  • Wednesday, February 3, 2016
  • by wdalmut
  • Repository
  • 1 Watchers
  • 3 Stars
  • 747 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

Corley Phing AWS Tasks

A group of task in order to integrate Phing with AWS., (*1)

ElasticBeanstalk

Deploy your bundle in AWS ElasticBeanstalk, (*2)

<project>
    <taskdef name="beanstalk" classname="Corley\Phing\BeanstalkTask" />
    <target name="deploy" depends="upload">
        <echo msg="Deploy application '${APP_NAME}' on ElasticBeanstalk using name '${BUNDLE_NAME}'" />
        <beanstalk
            key="${amazon.key}"
            secret="${amazon.secret}"
            region="${amazon.region}"
            application="${APP_NAME}"
            version="${BUNDLE_NAME}"
            bucket="${amazon.bucket}"
            object="${BUNDLE_NAME_ZIP}"
            />
    </target>
</project>

CodeDeploy

Deploy your bundle in AWS CodeDeploy, (*3)

<project>
    <taskdef name="codedeploy" classname="Corley\Phing\CodeDeployTask" />
    <target name="deploy" depends="upload">
        <echo msg="Deploy application '${APP_NAME}' with CodeDeploy using name '${BUNDLE_NAME}'" />
        <codedeploy
            key="${amazon.key}"
            secret="${amazon.secret}"
            region="${amazon.region}"
            application="${APP_NAME}"
            version="${BUNDLE_NAME}"
            bucket="${amazon.bucket}"
            object="${BUNDLE_NAME_ZIP}"
            />
    </target>
</project>

Upload on S3

<project>
    <taskdef name="s3" classname="Corley\Phing\S3PutTask" />
    <target name="upload" description="Deploy production bundle to S3" depends="bundle">
        <echo msg="Upload '${BUNDLE_NAME_ZIP}' on S3 buckey: '${amazon.bucket}' using key: '${amazon.key}'" />
        <s3
            key="${amazon.key}"
            secret="${amazon.secret}"
            bucket="${amazon.bucket}"
            source="${BUNDLE_NAME_ZIP}"
            object="${BUNDLE_NAME_ZIP}" />
    </target>
</project>

The Versions

03/02 2016

dev-feature/0.0.2-aws2

dev-feature/0.0.2-aws2

A set of tasks for AWS integration with Phing

  Sources   Download

MIT

The Requires

 

The Development Requires

s3 aws phing elasticbeanstalk

03/02 2016

dev-master

9999999-dev

A set of tasks for AWS integration with Phing

  Sources   Download

MIT

The Requires

 

The Development Requires

s3 aws phing elasticbeanstalk

03/02 2016

0.0.2

0.0.2.0

A set of tasks for AWS integration with Phing

  Sources   Download

MIT

The Requires

 

The Development Requires

s3 aws phing elasticbeanstalk

30/05 2015

0.0.1

0.0.1.0

A set of tasks for AWS integration with Phing

  Sources   Download

MIT

The Requires

 

The Development Requires

s3 aws phing elasticbeanstalk