Skip to content
/ loki Public

Generic status checker that integrates with GitHub Status API.

License

Notifications You must be signed in to change notification settings

sspbft/loki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loki

Integration test runner as a GitHub status check.

Integrating with Loki

Writing a configuration file

Add a .loki.yml file to the project root. This file tells loki what commands to run, in what order and where they should be run. Ideally these commands run checks that should pass, such as integration tests or linting.

dir - this specifies where the commands will be executed bootstrap - these commands are executed when cloning the repository cmd - these are the actual commands that should indiciate failing/successful builds by their exit codes

# sample .loki.yml

dir: .
bootstrap:
    - chmod +x /scripts*.sh
cmd:
    - source env/bin/activate
    - ./scripts/test

Running Loki locally

git clone https://github.com/sspbft/loki.git && cd loki
yarn
mv .env.example .env
# edit .env with appropriate details
yarn start

Loki is now listening for webhooks on either process.env.PORT or 3000!

About

Generic status checker that integrates with GitHub Status API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published