ember-cli-deploy-sm-pack v1.2.1
Ember-cli-deploy-sm-pack
An ember-cli-deploy plugin pack to implement a lightning deployment pattern as described
Installation
ember install ember-cli-deploy
ember install ember-cli-deploy-sm-pack
Required environment variables
- S3_ACCESS_KEY_ID
- S3_SECRET_ACCESS_KEY
- SLACK_WEBHOOK_URL
- PUBLIC_URL
- If you want to be able to a specific version of the index file you must include {{versionSha}} in the publicUrl e.x https://my-app-domain.com/{{versionSha}} This will get replaced and look like https://my-app-domain.com/index.html:123abf
- S3_REGION
- S3_BUCKET
- CLOUDFRONT_DISTRIBUTION_ID
- GITHUB_REPO
Required environment variables for pull-request deploy target
- All the above ^
- GITHUB_TOKEN
- GITHUB_COMMIT_SHA
- GITHUB_COMMIT_USER
Optional environment variables
For other environment variables for other ember-cli-deploy plugins see the included plugins list below
- S3_OVERWRITE_INDEX (Default: false)
- SLACK_ENABLED (Default: false. Unless in staging or production)
- SLACK_CHANNEL (Default: null. This will default to whatever slack channel is setup when creating the slack URL webhook)
- SLACK_UPLOAD_ICON (Default: :soon:)
- SLACK_ACTIVATE_ICON (Default: :tada:)
The necessary set of plugins will be available to ember-cli-deploy and an example deploy/config.js
file will be generated for you to customize with information for your deployment environments.
Deployment
Valid deployment targets
- pull-request
- staging
- production
e.x. ember deploy staging
What is a plugin pack?
A "plugin pack" is a concept supported by ember-cli-deploy that allows a single addon to make multiple plugins available by adding a single direct dependency to your project.
What ember-cli-deploy plugins are included?
- ember-cli-deploy-build
- ember-cli-deploy-display-revisions
- ember-cli-deploy-gzip
- ember-cli-deploy-manifest
- ember-cli-deploy-revision-data
- ember-cli-deploy-s3
- ember-cli-deploy-s3-index
- ember-cli-deploy-cloudfront
- ember-cli-deploy-slack
- ember-cli-deploy-github-status
Dependencies
- node-zopfli better than regular gzip compression, but slower
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago