Skip to content

vanev/chewie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chewie

Build Status Maintainability

chewie is your deploy co-pilot, here to make sure every deploy gets your cargo where it's going safely and successfully. Get some help from a pilot who's outrun Imperial Starships1.

Features

  • Prompts before chewie takes major actions, especially when dealing with production;
  • Information about continuous integration builds as part of the deploy process;
  • Warnings when deploying too recently after another deploy;

and more!

Installation + Setup

yarn global add vanev/chewie

Ensure that you have a CHEWIE_TRAVIS_GITHUB_TOKEN in your environment set to a valid Github Token with the following permissions: admin:repo_hook, read:org, repo, user.

Usage

chewie deploy

Deploys any git reference to any marketplace's environment.

  • -r, --reference to deploy a specific branch, tag, sha or other git reference, defaults to the current branch.
  • -e <environment> to deploy to a specific environment, defaults to "staging"
  • -m <marketplace> to deploy to a specific marketplace, defaults to "grailed"; if "all", deploys to all marketplaces ("grailed", "heroine"), in parallel.

NOTE: Currently, chewie deploy assumes the remote name is "${environment}-${marketplace}". I'm hoping to add a feature to allow this to be configurable.

chewie punchit

Deploys local master branch to production environment for all marketplaces, in parallel. The same as running chewie deploy -r master -e production -m all.


1 Not the local bulk cruisers mind you, I'm talking about the big Corellian ships now.

About

You'll deploy with confidence with Chewie by your side.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published