0.0.20-b3 • Published 6 years ago

@elastic/github-checks-reporter v0.0.20-b3

Weekly downloads
4,080
License
Apache-2.0
Repository
github
Last release
6 years ago

github-checks-reporter

Task wrapper that provides expressive CI feedback via GitHub checks

Usage

yarn run github-checks-reporter ${task title} ${...command and command args}

example

yarn run github-checks-reporter jest node scripts/jest

Setup

yarn add --dev github-xyz (package name will be updated)

github-checks-reporter relies on a number of environment variables in order to call the GitHub API -

ValueDefault environment variable
appKeyGITHUB_CHECKS_REPORTER_KEY
repoSlugghprbGhRepository
commitShaghprbActualCommit
buildUrlBUILD_URL

Different environment variables can be used via the github_checks_api.json config file located in the project root.

Example -

{
  "appId": 26774,
  "envVars": {
    "appKey": "KIBANA_CI_REPORTER_KEY"
  }
}

How it works

github-checks-reporter takes a task title and a shell command and its arguments and:

  • Creates a check via the GitHub checks API
  • Executes the command
  • Stores and passes along log data and exit code
  • Updates the check based on the exit code, appending log data to the check
0.0.20-b3

6 years ago

0.0.20-b2

6 years ago

0.0.20-b1

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.16-beta-4

6 years ago

0.0.16-beta-3

6 years ago

0.0.16-beta-2

6 years ago

0.0.16-beta-1

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.14-beta1

6 years ago

0.0.13

6 years ago

0.0.13-beta1

6 years ago

0.0.12

6 years ago

0.0.12-beta1

6 years ago

0.0.11

6 years ago

0.0.11-beta6

6 years ago

0.0.11-beta5

6 years ago

0.0.11-beta4

6 years ago

0.0.11-beta3

6 years ago

0.0.11-beta2

6 years ago

0.0.11-beta1

6 years ago

0.0.10

6 years ago

0.0.10-beta1

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.8-beta-1

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago