yoctobuild

command module
v0.0.0-...-ddab63e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2015 License: MIT Imports: 15 Imported by: 0

README

yoctoBuild

yoctoBuild is a bare-bones build service for your personal projects. Since many hosted build services do not work outside of GitHub and BitBucket, this was made to work with Gogs for light usage where hosting Jenkins would be absurd.

yoctoBuild is unaware of git, Mercurial, scss, etc. It depends on a bash executable and proper configuration.

Usage

Run yoctobuild in its directory or copy the badges and a config file to a working directory. Provide a -secret on startup, and then set your Gogs/Git hooks/etc to send a request to /projects/<your project>/build?secret=<your secret>.

The config file consists of a map of projects and their steps. The build server does nothing but create a working directory for the build so the build steps must check out code, perform tests, and manage any dependencies. The config file should only be modified by owners of the server it lives on as it may execute arbitrary commands on your behalf.

This build service is very simple. It does not watch for branches or anything of the like. You must configure a project for each individual item that you wish to watch.

Badges may be served by embedding /projects/<your project>/badge as an image in your page.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL