transactpro/phpci-deployer-org 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

transactpro/phpci-deployer-org

Composer 安装命令:

composer require transactpro/phpci-deployer-org

包简介

PHPCI Plugin for deployer.org integration

README 文档

README

###PHPCI Plugin for deployer.org integration

SensioLabsInsight

Latest Stable Version Total Downloads License

Prerequisites

  • Up and running deployer.org tool dep and endpoint configuration done like in docs. (You can get it here)

Install

First of all - composer require transactpro/phpci-deployer-org

To avoid any security problems, this plugin stores three different recipe parts:

  1. common.deploy.php - some predefinitions. In other words, just extending default recipe/common.php.
  2. project.deploy.php - main deploy configuration. You can store here even server credentials (pure password or ssh-key password).
  3. deploy.php - rest part of deploy configuration. Mainly used for defining writable/shared directories.

Usage

Let's store recipe parts:

  • common.deploy.php => /var/www/deploy/recipes/common.deploy.php
  • project.deploy.php => /var/www/deploy/recipes/project.deploy.php
  • deploy.php => /your/project/root/deploy.php

========================

phpci.yml example:

build_settings:
    verbose: true

success:
    deployer:
        master:
            stage: prod
            file: /var/www/deploy/recipes/project.deploy.php

That's all folks!

=========================================

TODO

I'm planning to add wildcard for branches, so we can deploy master to production, bugfixes to staging and features to test/staging environments.

统计信息

  • 总下载量: 46
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固