Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-deploy-display-revisions

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-deploy-display-revisions

Display a list of deployed revisions using ember-cli-deploy.

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12K
increased by5.88%
Maintainers
4
Weekly downloads
 
Created
Source

Ember-cli-deploy-display-revisions

Display a list of deployed revisions using ember-cli-deploy. This plugin is for ember-cli-deploy >= 0.5.0.

Installation

  • ember install ember-cli-deploy-display-revisions

Configuration Options

Defaults

  ENV['display-revisions'] = {
    amount: 10,
    revisions: function(context) {
      return context.revisions;
    }
  }

amount

Number of revisions displayed in the results table

Default: 10

revisions

The data to be displayed

Default: context.revisions, usually received from fetchRevisions

Usage

  • ember deploy:list <environment> to list the latest 10 revisions
  • ember deploy:list --amount <N> <environment> to list the latest revisions

Passing revisions

ember-cli-deploy-display-revisions expects the fetchRevisions to be implemented by your index plugin, filling the revisions variable in context in the following format:

[
  {
    revision: 'abc123', // mandatory
    version: 'v1',
    timestamp: 1438232435000, // milliseconds since epoch
    deployer: 'cats'
  },
  {
    revision: 'def456',
    version: 'v2',
    timestamp: 1032123128000,
    deployer: 'dogs',
    active: true // indicate whether this revision is activated
  }
]

Omitted keys are not displayed in listing the results.

Tests

  • yarn test

Why ember build and ember test don't work

Since this is a node-only ember-cli addon, this package does not include many files and dependencies which are part of ember-cli's typical ember build and ember test processes.

Keywords

FAQs

Package last updated on 02 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc