Skip to content

moretea/github-hydra-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github + Hydra bot

The purpose of this bot is to have hydra build a specific SHA when commanded to.

Configuration

You must set:

RACK_ENV=production # to prevent leaking of e.g. stack traces over HTTP.
BOT_NAME=some_bot_name
ACCESS_FILE=path_to_acces_file
OAUTH_TOKEN=token
GITHUB_OWNER=nixos
GITHUB_REPO=nixpkgs
WEBHOOK_SECRET=yaddayadda

Access list

For now I would suggest to use an cronjob to update the ACCESS file. curl https://api.github.com/orgs/nixos/public_members | jq .[].login -r > tmp_file && mv tmp_file /path/to/access-file (the mv is to ensure atomicity, note that the tmp file should be on the same filesystem as the access file.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published