hubot-pulsar
Hubot script to deploy via Pulsar REST API
Last updated 3 years ago by cargomedia .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-pulsar 
SYNC missed versions from official npm registry.

hubot-pulsar Build Status npm

About

This is "Pulsar REST API service" hubot script.

Installation

Install it as a usual hubot script. After that configure it to your needs. For that you need to have a config file. The config file will be searched in the following order:

  • The script will try to get the environment variable HUBOT_PULSAR_CONFIG. If this variable exists then it is used as a file path to the config file.
  • If the variable wasn't found then the script will try to locate the file pulsar.config.json in the directory of the hubot installation.

Authorization support is optional, and enabled if the hubot-auth script is loaded.

Config format

{
  "pulsarApi": {
    "url": "<pulsar-rest-api-url>",
    "authToken": "<auth-token>"
  }
}

pulsarApi: Object. Required. It describes the configuration for pulsar-rest-api-client-node.

Deploy.js

For deploying applications. Everyone with the role deployer is allowed to trigger deployments.

The script emits the following events:

  • deploy:start: When a deployment is started
  • deploy:success: When a deployment finished successfully
  • deploy:error: When a deployment fails

Real-life usage example

Please look how this script can be used in your everyday workflow http://www.cargomedia.ch/2015/06/23/pulsar-rest-api.html.

Current Tags

  • 0.6.11                                ...           latest (3 years ago)

22 Versions

  • 0.6.11                                ...           3 years ago
  • 0.6.10                                ...           4 years ago
  • 0.6.9                                ...           4 years ago
  • 0.6.8                                ...           4 years ago
  • 0.6.7                                ...           4 years ago
  • 0.6.6                                ...           4 years ago
  • 0.6.5                                ...           4 years ago
  • 0.6.4                                ...           4 years ago
  • 0.6.3                                ...           4 years ago
  • 0.6.2                                ...           4 years ago
  • 0.6.1                                ...           4 years ago
  • 0.6.0                                ...           4 years ago
  • 0.5.0                                ...           4 years ago
  • 0.4.2                                ...           5 years ago
  • 0.4.1                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 22
Dependencies (5)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |