ember-cli-deploy-circleci-revision

0.0.2 • Public • Published

ember-cli-deploy-circleci-revision

An ember-cli-deploy plugin to add the CircleCI build number to the key generated from ember-cli-deploy-revision-data. It reads the revisionKey variable added by ember-cli-deploy-revision-data and append proper CircleCI build number if possible.

What is an ember-cli-deploy plugin?

A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks.

For more information on what plugins are and how they work, please refer to the Plugin Documentation.

Quick Start

To get up and running quickly, do the following:

Installation

Run the following command in your terminal:

ember install ember-cli-deploy-circleci-revision

ember-cli-deploy Hooks Implemented

For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.

  • prepare

Configuration Options

For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.

Defaults

ENV["circleci-revision"] = {
  buildVariable: "CIRCLE_BUILD_NUM",
  separator: '_'
}

The buildVariable specifies the environement variable to use to extract the build number. This can be useful if you want your build number to be externally supplied, say from a parent task.

Prerequisites

The following property is expected to be present on the deployment context object:

Package Sidebar

Install

npm i ember-cli-deploy-circleci-revision

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

4.69 kB

Total Files

4

Last publish

Collaborators

  • danielcms