JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q30197F
  • License MIT

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

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ezci) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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/)