hubot-dreadnought

1.0.2 • Public • Published

#hubot-dreadnought

Installation

  • Add hubot-dreadnought to your package.json file.
  • Add hubot-dreadnought to your external-scripts.json file.
  • Add a dreadnought.json configuration file to give commands to add

Configuration

Set these env vars:

  • HUBOT_DREADNOUGHT_ENDPOINT
  • HUBOT_DREADNOUGHT_API_KEY
  • HUBOT_DREADNOUGHT_JSON

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

{
  "remap_fields": {
    "servers": [{"finder": "beanstalk", "params": {"selector": "first", "environment": "rope-prod"}}],
    "params": [
      "BOARD_ID": "int"
    ]
  }
}

Now with this json configured, you can do the following command:

hubot remap_fields <BOARD_ID>

It should validate that it has a single arg, BOARD_ID, and that it is an int

Readme

Keywords

none

Package Sidebar

Install

npm i hubot-dreadnought

Weekly Downloads

3

Version

1.0.2

License

none

Unpacked Size

17.8 kB

Total Files

9

Last publish

Collaborators

  • sparkmasterflex
  • nathan.straubrg
  • mauilabs
  • dinnertime_realgeeks
  • csass-rg
  • almirg
  • katie.perry-rg
  • aaronrg
  • kevin1024
  • rg-geekbot
  • larslevie