Skip to content

Autonomous kpatch pull request build and reporting bot

Notifications You must be signed in to change notification settings

joe-lawrence/kpatch-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kpatch-bot

Autonomous kpatch pull request build and reporting bot.

Status

This project is only a prototype.

Install

  • kpatch build and testing requirements
  • RHEL: sudo dnf install curl jq perl-JSON
  • Fedora: sudo dnf install curl jq perl-JSON
  • Ubuntu: sudo apt-get install curl jq libjson-perl

Setup

  • Create a github personal API token with repo and gist scopes enabled. This token will be used to periodically poll for new pull requests as well as posting test results as comments and test logs as a personal gist.

  • Setup ~/.netrc with a line like this:

machine api.github.com login <username> password <token_value>

Usage

monitor_PRs.pl

	-n|name <name>			kpatch-bot posting name
	-d|poll_period <seconds>	PR polling interval
	-p|project <group/project>	GitHub group/project name
	-t|temp_dir <tmpdir path>	Temporary file store
	-v|verbose			Verbose flag
	-y|dry_run			Dry run flag

About

Autonomous kpatch pull request build and reporting bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published