1.0.2 • Published 5 years ago

hubot-dreadnought v1.0.2

Weekly downloads
10
License
-
Repository
github
Last release
5 years ago

#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

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago