2017 © Pedro Peláez
 

library phpci-remote-deployment

A PHPCI plugin to trigger a remote deployment url after an successful build

image

rephlux/phpci-remote-deployment

A PHPCI plugin to trigger a remote deployment url after an successful build

  • Wednesday, March 16, 2016
  • by rephluX
  • Repository
  • 2 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 18 % Grown

The README.md

Remote Deployment Trigger for PHPCI

Build Status Latest Stable Version License, (*1)

A plugin for PHPCI to trigger an deployment url., (*2)

To deploy an application when the build is successful tested, specify any external remote deployment url trigger the deployment process., (*3)

Each branch in the VCS can be configured separately to support different settings for each branch:, (*4)

  • master branch -> production settings
  • development branch -> stage settings

Install the Plugin

  1. Navigate to your PHPCI root directory and run composer require rephlux/phpci-remote-deployment
  2. Update your phpci.yml in the project you want to deploy with

Prerequisites

  1. The specified deployment url needs to be accessible from PHPCI

Plugin Options

  • branch [array] The specific branch for the project
    • url [string] - The url to the deployment script
    • method [string, optional, values: get, post] - The http method used to call the deployment url (default: 'get')

PHPCI Config

\Rephlux\PHPCI\Plugin\RemoteDeployment:
    <branch>:
        url: <url_to_deployment_script>
        method: <http_method>

example:, (*5)

success:
    \Rephlux\PHPCI\Plugin\RemoteDeployment:
        master:
            url: "http://deploy.mydomain.com/execute?token=123456789"
        development:
            url: "http://deploy.mydomain.com/execute?token=987654321" 

The Versions

16/03 2016

dev-master

9999999-dev

A PHPCI plugin to trigger a remote deployment url after an successful build

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris van Daele

16/03 2016

0.2.0

0.2.0.0

A PHPCI plugin to trigger a remote deployment url after an successful build

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris van Daele

12/09 2015

0.1.0

0.1.0.0

A PHPCI plugin to trigger a remote deployment url after an successful build

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris van Daele