hubot-kdeploy

1.2.0 • Public • Published

hubot-kdeploy

A hubot script that deploys to K8s via Mack

See src/kdeploy.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-kdeploy --save

Then add hubot-kdeploy to your external-scripts.json:

["hubot-kdeploy"]

Set these envars:

HUBOT_KDEPLOY_PREFIX - deploy command prefix (default kdeploy, optional) HUBOT_KDEPLOY_CONFIG_JSON - location of the JSON config file (default project root, optional) HUBOT_KDEPLOY_MACK_XXX_API_KEY - the Mack API key for each target in config file (required)

Sample Interaction

user1>> hubot kdeploy foobar to production
mack>> Deploying foorbar to production

Deployment

You will need an RG NPM auth token:

export NPM_AUTH_TOKEN=<token>
npx np

NPM Module

https://www.npmjs.com/package/hubot-kdeploy

/hubot-kdeploy/

    Package Sidebar

    Install

    npm i hubot-kdeploy

    Weekly Downloads

    16

    Version

    1.2.0

    License

    none

    Unpacked Size

    20.1 kB

    Total Files

    8

    Last publish

    Collaborators

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