Skip to content

anaisbetts/peasant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peasant: A GitHub Build Server

The Theme: The simplest build server that is designed explicitly to work with GitHub the website.

Ideas

  • Zero configuration data stored on the build server itself except for the OAuth token
  • OAuthing to the site now gives us the token we need to clone down source code
  • Build script URL is on GitHub, URL is given in the post-recieve hook
  • Comes with script command that invokes a build on another server, for chaining build results (i.e. a build that needs to actually build >1 platform)
  • Comes with script command to create a Release from a directory or a set of files
  • Environment variables are set in the script's context to help it out (REPO_URL, REPO_SHA1, GITHUB_OAUTH)
  • Whether pages require ACL checks, is based on whether the repo is public or private.

Example Post-Recieve URL:

http://thebuildserver/post-recieve?build_via=https://github.com/github/ci/windows.cmd&sha1=686ac69
  • build_via - the script to use to build the repo
  • sha1 - the SHA1 to check out

The only other URL

http://thebuildserver, which grabs an OAuth token and also displays build status in a friendly way

About

The simplest CI server that could possibly work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published