kevin1024 / hubot-metadeploy

Deploy multiple projects using one command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#hubot-metadeploy Build Status

Integrates with hubot-deploy to allow you to deploy multiple apps with one command

Installation

  • Add hubot-metadeploy to your package.json file.
  • Add hubot-metadeploy to your external-scripts.json file.
  • Add a meta.json configuration file to the root of your hubot installation

Configuration

You will need a meta.json. Here is an example:

{
  "web": {
    "production": [
      {"name": "rg2-rackspace", "environment": "production"},
      {"name": "rg2-aws", "environment": "production"},
      {"name": "rg2-emailupdates", "environment": "rg2-emailupdates-prod"}
    ]
  }
}

usage

hubot mdeploy web to production

This will actually call:

hubot deploy rg2-rackspace to production
hubot deploy rg2-aws to production
hubot deploy rg2-emailupdates to rg2-emailupdates-prod

About

Deploy multiple projects using one command


Languages

Language:CoffeeScript 100.0%