Commit graph

21 commits

Author SHA1 Message Date
Alex Suraci
2d837cc3db query and show commits by branch
This allows the same SHA to have different builds on different branches, each
separately viewable. This is useful for expressing a "pipeline" in terms of
branches, e.g. a commit starts on branch A and progress through B and C to
master, with the build script switching on branch name.

Previously viewing each build would arbitrarily choose which branch's commit
to show.
2014-03-14 12:13:34 -07:00
Brad
18d5421706 a bit of prep-work for adding caching 2014-03-02 22:35:01 -08:00
Brad Rydzewski
fa9d3c8277 Merge remote-tracking branch 'origin/master' 2014-02-26 00:01:51 -07:00
Alex Suraci
a198657a7e Runner -> BuildRunner to be more descriptive
also kill some stale comments
2014-02-25 17:14:14 -08:00
Alex Suraci
9e1c4e60e5 remove docker/queue singletons; inject in main 2014-02-25 17:10:04 -08:00
Brad Rydzewski
5673c4d2ac only inject private parameters for non-pull requests, for security purposes 2014-02-25 16:48:43 -07:00
Alex Suraci
4b52fcad1a provide runner to workers, use it for all builds
Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
2014-02-24 17:51:25 -08:00
Alex Suraci
ddc8e7a56f split build construction out of worker
(todo: inject runner into worker)

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
2014-02-24 17:34:22 -08:00
Alex Suraci
acc51e83fd inject docker client into Builder
Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
2014-02-24 17:02:57 -08:00
Alex Suraci
12989b187c introduce Queue object
this is an intermediate step towards pushing configuration up.

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
2014-02-24 16:53:28 -08:00
Alex Suraci
fc01782554 add constructor for Builder
this makes it easier to track required dependencies as they change

(todo: actually, like, use it for required dependencies)
2014-02-24 16:45:01 -08:00
Vsevolod Strukchinsky
407faca612 Fixed another github client instance in code 2014-02-16 11:45:15 +06:00
Vsevolod Strukchinsky
79ccd56960 Fixup back url in commit status 2014-02-13 14:36:40 +06:00
yosssi
074de9d3b3 Implemented a function for developers to specify the --depth option of
the `git clone` command. refs #55
2014-02-13 02:22:43 +00:00
Brad Rydzewski
a26b9c1658 removed duplicate /deploy /notify /publish directories in /pkg/build/script 2014-02-11 15:17:35 -07:00
Scott Ferguson
326c5ce45e Alert Github when a build has started 2014-02-11 08:47:55 -06:00
Scott Ferguson
6c2b64dd55 Read the actual commit status when updating Github 2014-02-10 14:08:33 -06:00
Scott Ferguson
1e75162bc8 Defer updateGitHubStatus so that it reports errors that occur before the build begins 2014-02-09 19:06:16 -06:00
Scott Ferguson
cf9b791071 Don't prematurely exit updateGitHubStatus() 2014-02-09 19:04:06 -06:00
Brad Rydzewski
abdcd60dac hooked up websockets to stream output 2014-02-07 04:09:46 -07:00
Brad Rydzewski
d5e5797934 initial public commit 2014-02-07 03:10:01 -07:00