0.0.20-b3 • Published 5 years ago

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

Weekly downloads
4,080
License
Apache-2.0
Repository
github
Last release
5 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

5 years ago

0.0.20-b2

5 years ago

0.0.20-b1

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.16-beta-4

5 years ago

0.0.16-beta-3

5 years ago

0.0.16-beta-2

5 years ago

0.0.16-beta-1

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.14-beta1

5 years ago

0.0.13

5 years ago

0.0.13-beta1

5 years ago

0.0.12

5 years ago

0.0.12-beta1

5 years ago

0.0.11

5 years ago

0.0.11-beta6

5 years ago

0.0.11-beta5

5 years ago

0.0.11-beta4

5 years ago

0.0.11-beta3

5 years ago

0.0.11-beta2

5 years ago

0.0.11-beta1

5 years ago

0.0.10

5 years ago

0.0.10-beta1

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.8-beta-1

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago