Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    twofacepublic

    twoface

    NodeJs tool for flipping blue/green deployment configuration, communicates with consul server.

    Install

    npm install -g twoface

    Usage

    Top level commands:

    Usage: twoface flip [options]
    
      Flip the the value from green to blue tags, and vice versa
    
      Options:
    
        -h, --help                    output usage information
        -H, --host <consulHost:port>  The host and port of the consul service
        -k, --key <consulKey>         The key which stores the value to be flipped
        -b, --blueTag <blueTag>      The value to use as the blue tag
        -g, --greenTag <greenTag>    The value to use as the green tag
    
    Usage: twoface peek [options]
    
        Print the opposite to the current live tag value
    
        Options:
    
          -h, --help                    output usage information
          -H, --host <consulHost:port>  The host and port of the consul service
          -k, --key <consulKey>         The key which stores the value to be checked
          -b, --blueTag <blueTag>       The value to use as the blue tag
          -g, --greenTag <greenTag>     The value to use as the green tag
    

    install

    npm i twoface

    Downloadsweekly downloads

    8

    version

    0.2.1

    license

    ISC

    repository

    githubgithub

    last publish

    collaborators

    • avatar