ember-cli-deploy-showbie-pack
v0.0.5
Published
An ember-cli-deploy plugin pack to implement a deployment pattern for Showbie's Ember apps
Downloads
3
Maintainers
Readme
ember-cli-deploy-showbie-pack
An ember-cli-deploy plugin pack to implement a deployment pattern for Showbie's Ember apps
The general approach is very similar to the Lightning Deploy strategy except each revision is a tarball that gets unpacked and deployed by AWS OpsWorks recipes.
This pack includes a blueprint for your config/deploy.js
file to get you started.
Installation
ember install ember-cli-deploy
ember install ember-cli-deploy-showbie-pack
To update your config/deploy.js and from our blueprint run
ember generate showbie-deploy-config
Environment Variables
For this to go smoothly, you'll need to set some environment variables; see ember-cli-deploy's dotEnv section.
The blueprint will create environment specific .env.deploy.<TARGET>
files; you simply need to fill in the values.
Deploying to QA
When master
builds successfully, call ember deploy qa --activate
.
This will build the app, upload the tarball to S3, trigger an OpsWorks deployment, and notify slack.
What plugins are made available?
- ember-cli-deploy-build
- ember-cli-deploy-archive
- ember-cli-deploy-s3-index
- ember-cli-deploy-revision-data
- ember-cli-deploy-display-revisions
- ember-cli-deploy-opsworks
- ember-cli-deploy-slack
Acknowledgements
This pack is heavily inspired by ember-cli-deploy-lightning-pack. Since the OpsWorks takes some time (depending on your setup), deployments have a delay like distant thunder, not the blazing speed of lighnting :(