Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages