Handles GitHub PRs and syncing to Redmine and Jenkins
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.openshift
config
github
redmine
scripts
test
tmp
views
.gitignore
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
app.rb
config.ru
repository.rb

README.md

Pull Request Processor for Foreman

prprocessor is a web service which receives GitHub webhooks/notifications and helps sync PRs to Redmine and Jenkins.

Documentation available on the Foreman wiki.

Environment Variables

  • ENV['GITHUB_OAUTH_TOKEN']: An OAuth token with repos access to update PR labels
  • ENV['GITHUB_SECRET_TOKEN']: The secret token for verifying GitHub webhooks
  • ENV['REDMINE_API_KEY']: Redmine API key to use for making API update

Configuration Files

  • config/repos.yaml: List of GitHub repositories managed by this service
  • config/users.yaml: List of GitHub usernames against Redmine user IDs to automatically assign tickets to PR authors.