2.4.0 • Published 10 months ago

ezci v2.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

ezci

NPM version

Description

Easy CI is a CLI to trigger pipelines for rapid continuous integration

Installation

Install globally

$ npm install -g ezci

Install for project

Useful for the integration in package.json scripts

$ npm install --save-dev ezci

Usage

$ ezci run
$ ezci run --help
$ ezci run --branch release/test --verbose
$ ezci run --branch-pattern pipeline/

Description:

Run a pipeline with push trigger.

Procedure:

Queries all available release branches by checking if the name starts with the branch pattern (-p/--branch-pattern, default ist release/).

List all release pipelines and allows the user to select one, if no specific branch (-b/--branch) was specified.

Runs the following exemplary git commands:

  • git checkout release-branch
  • git reset --hard initial-branch
  • git push -f
  • git checkout initial-branch

Through those commands, the release branch gets completly overwriten by the initial branch (which is the current branch, when you run the command) and than gets forced pushed to the remote, which activates the push trigger set for this branch.

Arguments:

--branch | -b Specifies the release branch to use.

--branch-pattern | -p Specifies the pattern the release branches start with. (Default: release/)

2.4.0

10 months ago

2.3.0

2 years ago

2.2.1

2 years ago

2.3.1

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago