Commit graph

1564 commits

Author SHA1 Message Date
Ben Schumacher
d40a65b6a3 Update test to reflect current behavior 2015-05-18 12:46:08 -06:00
Ben Schumacher
a5c62fc572 Drop settings in PostToken -- it isn't needed 2015-05-18 12:42:00 -06:00
Ben Schumacher
f9f2fdc2c8 Unit tests for PostToken API 2015-05-18 12:07:48 -06:00
Brad Rydzewski
d55d28436b adding code for a drone build agent 2015-05-18 10:05:58 -07:00
Brad Rydzewski
50ab7309a7 removed dead comment code 2015-05-17 23:19:33 -07:00
Brad Rydzewski
a14d21f5b9 improved streaming w/ websocket. potential for auto re-connect, resume 2015-05-17 23:07:10 -07:00
Brad Rydzewski
73ed4f08d5 moved to central copy function 2015-05-17 19:25:53 -07:00
Brad Rydzewski
c828c706cb swagger API docs 2015-05-17 15:22:54 -07:00
Brad Rydzewski
eedfbaf202 removed and ignore bindata file 2015-05-17 14:42:21 -07:00
Brad Rydzewski
30eed8723d moved all remaining files under designated structure 2015-05-17 14:25:04 -07:00
Brad Rydzewski
e3f0a39761 moving more data under pkg dir 2015-05-17 13:51:42 -07:00
Brad Rydzewski
12bbbdba75 fixed gitignore of dist folder 2015-05-17 12:18:03 -07:00
Brad Rydzewski
f6b0c0cd9c fix failed unit test caused by restructuring 2015-05-17 11:48:02 -07:00
Brad Rydzewski
40a9543c0c moving remote pkg per new multi-binary structure 2015-05-17 11:45:09 -07:00
Brad Rydzewski
137fb62e85 moving queue package 2015-05-17 11:42:56 -07:00
Brad Rydzewski
f58b48d329 moved yaml parsing to yaml package 2015-05-17 11:36:12 -07:00
Brad Rydzewski
4c847296d4 refactoring toward multi-binary project layout 2015-05-17 11:10:43 -07:00
Brad Rydzewski
2e9786c68e prevent hanging event source connections 2015-05-16 20:35:41 -07:00
Brad Rydzewski
b3951043a0 temp workaround to get Drone correctly stream SSE events 2015-05-16 20:08:32 -07:00
Brad Rydzewski
27aadca029 upgraded to latest version of gin to take advantage of SSE 2015-05-16 19:46:12 -07:00
Brad Rydzewski
e8a39a3b14 moving config code 2015-05-16 17:48:08 -07:00
Brad Rydzewski
64663e9742 fixed some build issues 2015-05-16 17:46:29 -07:00
Brad Rydzewski
07b910644b Merge remote-tracking branch 'upstream/0.4.0' into 0.4.0 2015-05-15 19:42:14 -07:00
Brad Rydzewski
e66bb6bace enable trusted builds to do their thing 2015-05-15 19:41:22 -07:00
Brad Rydzewski
7fdc9f8812 Merge pull request #1019 from oliveiradan/0.4.0-unit-tests
New set of Unit Tests for Build, based on 0.4.0
2015-05-15 19:36:41 -07:00
Brad Rydzewski
35c66c7b76 fixing many, many issues 2015-05-15 19:35:33 -07:00
Brad Rydzewski
28061efeea sets default build timeout 2015-05-15 17:19:15 -07:00
Brad Rydzewski
6414d4e21e fixed some issues with container downloads 2015-05-15 16:24:10 -07:00
Brad Rydzewski
d66becd12c fixed some minor bugs in build 2015-05-15 14:55:26 -07:00
Daniel Oliveira
a698810847 New set of Unit Tests for Build, based on 0.4.0 2015-05-14 23:31:18 -06:00
Daniel Oliveira
db02db06f1 New set of Unit Tests for Build, based on 0.4.0 2015-05-14 12:24:32 -06:00
Daniel Oliveira
a2ade4a5cc New set of Unit Tests for Build, based on 0.4.0 2015-05-14 11:52:45 -06:00
Brad Rydzewski
1ef6dc0bc6 persist self url in repo field 2015-05-12 23:58:30 -07:00
Brad Rydzewski
ed0719c624 fixed builder panic 2015-05-12 20:30:36 -07:00
Brad Rydzewski
b4add30df2 Merge remote-tracking branch 'upstream/0.4.0' into 0.4.0 2015-05-12 18:33:10 -07:00
Brad Rydzewski
9fef3a23d2 still a wip. container that is launched to run a build 2015-05-12 18:32:46 -07:00
Brad Rydzewski
ab3f7c7ca5 Merge pull request #1011 from CiscoCloud/fix-badge-tests
Fix Datastore mock and badge_test.go
2015-05-12 10:33:34 -07:00
Ben Schumacher
01eae26623 Fix Datastore mock and badge_test.go 2015-05-12 11:06:00 -06:00
Brad Rydzewski
7762ecac90 always display sub-build list 2015-05-11 00:53:56 -07:00
Brad Rydzewski
85256d3a22 backported 0.4 changes to existing database 2015-05-11 00:45:31 -07:00
Brad Rydzewski
d07c0cb80d github status api 2015-05-09 20:46:32 -07:00
Brad Rydzewski
7f162c80b9 post-commit hook should trigger commit status update 2015-05-09 20:14:01 -07:00
Brad Rydzewski
fb2999c35d include private key in json, manually scrub from rest responses 2015-05-09 12:54:38 -07:00
Brad Rydzewski
062a31de08 ability to run a build step conditionally based on matrix 2015-05-09 12:53:52 -07:00
Brad Rydzewski
b9484757ff updated .drone.yml to support new syntax 2015-05-09 01:41:24 -07:00
Brad Rydzewski
c72724d46b passing netrc data to build 2015-05-09 01:08:54 -07:00
Brad Rydzewski
100121ba01 Merge pull request #1007 from CiscoCloud/oliveiradan-bolt
Rebase of @oliveiradan's work in PR #998
2015-05-08 22:01:29 -07:00
Daniel Oliveira
ba159976a0 Fixing TODO comments in code /cc @oliveiradan
1. server/login.go:49 (// TODO(bradrydzewski) return an error message instead). Added error message if authorization fails.
2. server/repos.go:178 (TODO(bradrydzewski) verify repo not exists). Added a checking for the repo and return an error in case it does not exist.
3. server/queue.go:170:  // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
4. remote/github/github.go:106  // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
5. ./server/queue.go:170:  // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
6. .remote/github/github.go:106  // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
2015-05-08 10:47:40 -06:00
Brad Rydzewski
0034c12141 initial work on build cancellation 2015-05-06 01:24:55 -07:00
Brad Rydzewski
f82c8ff6d7 ability to stream builds 2015-05-06 00:56:06 -07:00