1.27.0 • Published 7 months ago

@s-ui/ci v1.27.0

Weekly downloads
434
License
ISC
Repository
-
Last release
7 months ago

sui-ci

CLI with some useful commands for CI environments

It provides:

  • A way to update a GitHub Commit Status from a CI environment.

Requirements

Right now, it relies on some environment variables:

  • GH_TOKEN: GitHub Personal Access Token of the user that will create the status of the commit.
  • SUI_CI_TOPIC: Optional but useful environment variable to tell the CI which topic the commit is about.

@s-ui/ci right now expects it's using Travis to execute CI, so the next environment variables are expected: TRAVIS_BUILD_WEB_URL, TRAVIS_COMMIT, TRAVIS_PULL_REQUEST_SHA, TRAVIS_REPO_SLUG.

Usage

Usage: sui-ci update-commit-status [options]

Options:
  -s, --state <stateKey>  State of the commit. Accepted values:"OK", "KO", "RUN" (default: "KO")
  -u, --url <targetUrl>   Url where the details link navigates to (default: <travis-build-url>)
  -t, --topic <ciTopic>   Topic telling what is the commit about (default: process.env.SUI_CI_TOPIC)
  -h, --help              display help for command

For example, you could use the CLI directly by using npx with that.

$ npx @s-ui/ci update-commit-status --state OK --topic build 

In Action

image

1.27.0-beta.0

7 months ago

1.27.0-beta.1

7 months ago

1.27.0

2 years ago

1.26.0

2 years ago

1.25.0

2 years ago

1.24.0

2 years ago

1.23.0

2 years ago

1.22.0

3 years ago

1.21.0

3 years ago

1.20.0

3 years ago

1.20.0-beta.0

3 years ago

1.19.0

3 years ago

1.19.0-beta.0

3 years ago

1.18.0

3 years ago

1.17.0

3 years ago

1.16.0

3 years ago

1.15.0

3 years ago

1.14.0-beta.2

3 years ago

1.14.0-beta.1

3 years ago

1.14.0-beta.3

3 years ago

1.14.0-beta.0

3 years ago

1.14.0

3 years ago

1.13.0-beta.4

3 years ago

1.13.0

3 years ago

1.13.0-beta.3

3 years ago

1.13.0-beta.1

3 years ago

1.13.0-beta.0

3 years ago

1.12.0

3 years ago

1.11.0-beta.1

3 years ago

1.11.0-beta.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.6.0-beta.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.3.0-beta.6

4 years ago

1.3.0-beta.5

4 years ago

1.3.0-beta.2

4 years ago

1.3.0-beta.3

4 years ago

1.3.0-beta.4

4 years ago

1.3.0-beta.1

4 years ago

1.3.0-beta.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0-beta.1

4 years ago

1.0.0-beta.0

4 years ago