Ember CLI Deploy Display Revisions

3.0.0 · active · verified Wed Apr 22

ember-cli-deploy-display-revisions is an Ember CLI Deploy plugin designed to list and display deployed revisions for Ember applications. Its current stable version is 3.0.0. This plugin integrates directly with the ember-cli-deploy ecosystem, providing a CLI command (`ember deploy:list`) to show recent deployments. It allows configuration of the number of revisions to display and expects revision data to be provided by other index plugins (e.g., fetchRevisions) in a specific JSON format, including details like `revision`, `version`, `timestamp`, `deployer`, and `active` status. The plugin is primarily a Node.js-only addon, meaning it does not participate in typical Ember application build or test processes, distinguishing it from front-end focused Ember addons. Release cadence is driven by updates to core dependencies like Node.js and ember-cli-deploy itself.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to install the plugin and use its primary CLI commands to list deployed revisions, including an example of specifying the number of revisions to display.

ember install ember-cli-deploy-display-revisions

# Configure in config/environment.js (example)
// ENV['display-revisions'] = {
//   amount: 15, // Display up to 15 revisions
//   revisions: function(context) {
//     return context.revisions; // Use revisions from the deploy context
//   }
// };

# To list the latest 10 deployed revisions for the 'production' environment
ember deploy:list production

# To list the latest 5 deployed revisions for the 'staging' environment
ember deploy:list --amount 5 staging

view raw JSON →