Commit graph

1439 commits

Author SHA1 Message Date
Brad Rydzewski
ad80facbbd websocket output working 2015-04-29 19:57:43 -07:00
Brad Rydzewski
7a75a17535 ability to visit public repos when not authenticated 2015-04-29 16:08:21 -07:00
Brad Rydzewski
ca931cd9eb ability to persist agent data 2015-04-29 15:26:22 -07:00
Brad Rydzewski
4071ea73a0 removed commented code no longer used from datastore 2015-04-29 11:19:39 -07:00
Brad Rydzewski
f740bf91cf don't display logs when build is killed 2015-04-28 16:36:13 -07:00
Brad Rydzewski
7649248385 hooked up restart, cancel in user interface 2015-04-28 16:27:30 -07:00
Brad Rydzewski
864a47f502 added error messages to login flow 2015-04-28 16:08:20 -07:00
Brad Rydzewski
08527d5aea test cov for eventbus 2015-04-28 15:30:51 -07:00
Brad Rydzewski
b84943222b get netrc data when hook is triggering 2015-04-28 15:08:21 -07:00
Ben Schumacher
52b441527c Fix spelling mistake 2015-04-28 15:57:56 -06:00
Ben Schumacher
0e53778d22 Badge API tests 2015-04-28 15:42:09 -06:00
Brad Rydzewski
67a4e302c7 ability to get netrc from remote 2015-04-28 14:39:48 -07:00
Ben Schumacher
e033a1a4a5 Alternative pattern for API unit tests 2015-04-27 15:48:21 -06:00
Brad Rydzewski
6006699109 Merge pull request #988 from oliveiradan/bolt
Unit Test code for: bolt package
2015-04-27 13:29:15 -07:00
Daniel Oliveira
24a0d15281 solved SetBuildTask() test, properly populating Tasks 2015-04-27 12:34:33 -06:00
Daniel Oliveira
4ade23e8ac Merge remote-tracking branch 'upstream/bolt' into bolt 2015-04-27 10:41:25 -06:00
Brad Rydzewski
65105d06c2 queue polling not correctly handles client disconnect 2015-04-26 23:49:38 -07:00
Daniel Oliveira
4e53cc184e Merge remote-tracking branch 'upstream/bolt' into bolt 2015-04-25 22:40:36 -06:00
Brad Rydzewski
96b49cf0fc website subscribes to build events, update pages 2015-04-25 21:27:24 -07:00
Brad Rydzewski
8e6fbc8ceb fixed bindata build issues 2015-04-25 16:46:02 -07:00
Brad Rydzewski
712c18459f serving the index.html page from bindata 2015-04-25 16:43:51 -07:00
Brad Rydzewski
3b7c9738a3 ability to squash and embed static files 2015-04-25 16:16:56 -07:00
Daniel Oliveira
707b0e3e13 Merge remote-tracking branch 'upstream/bolt' into bolt 2015-04-24 18:21:19 -06:00
Daniel Oliveira
abc83303ee solve build.go conflict 2015-04-24 18:19:48 -06:00
Brad Rydzewski
a1f3b2da4d got websocket events working 2015-04-24 17:06:46 -07:00
Brad Rydzewski
da350989d3 fixed minor queue glitches 2015-04-24 14:25:03 -07:00
Brad Rydzewski
39e7ce9840 add error when removing item not exists 2015-04-23 16:32:46 -07:00
Brad Rydzewski
1d1dff0dcf added unit tests for queue 2015-04-23 16:22:23 -07:00
Daniel Oliveira
987e85f261 About this commit:
1. server/builds.go:92 used SetStatus(). Replaced with SetBuildStatus().
2. Added a index check in SetBuildTask() and return an error in case the tasks number is > than build.tasks size.
2015-04-23 13:39:36 -06:00
Daniel Oliveira
4edf385d1c About this commit:
1. server/builds.go:92 used SetStatus(). Replaced with SetBuildStatus().
2. Added a index check in SetBuildTask() and return an error in case the tasks number is > than build.tasks size.
2015-04-23 12:15:17 -06:00
Daniel Oliveira
0579df7584 repo_test.go conflict resolution 2015-04-23 11:28:03 -06:00
Daniel Oliveira
f74ca63359 Disabled SetBuildTask() test until we get the nil ptr crash addressed 2015-04-23 10:04:31 -06:00
Daniel Oliveira
d13c1caebf About this commit:
1. server/builds.go:92 uses SetStatus().
2. The other APIs we talked about: Status(), StatusList(), we were able to move out.
3. The repo_del_test.go code merge into repo_test.go
4. Unit tests for the other build APIs added.
   - We are facing a crash in: github.com/drone/drone/datastore/bolt.(*DB).SetBuildTask(0xc208056080, 0x5e15d0, 0x15, 0x1, 0xc208036940, 0x0, 0x0)
     which seems to be related to the note in: build.go:207 (// TODO check index to prevent nil pointer / panic)
5. With these new tests we get over 86% plus test cover for bolt package.
2015-04-22 19:49:16 -06:00
Brad Rydzewski
c0f5aec77b Merge pull request #987 from benschumacher/cleanup-drone/drone#959
Fix error handling, remove unused bucketBuildTasks
2015-04-22 11:40:31 -07:00
Ben Schumacher
4362adf78b Fix error handling, remove unused bucketBuildTasks 2015-04-22 10:50:45 -06:00
Brad Rydzewski
d2776bc990 added code for remote queue plugin 2015-04-22 01:00:15 -07:00
Daniel Oliveira
6d5255aa75 Merge remote-tracking branch 'upstream/bolt' into bolt 2015-04-21 20:42:13 -06:00
Brad Rydzewski
b16759b0b6 code to inject private params 2015-04-21 15:48:48 -07:00
Brad Rydzewski
7a668b79c7 preparation for parsing build output to ansi format 2015-04-21 15:48:26 -07:00
Brad Rydzewski
79b83025a8 added cluster in place of pool, some other minor changes 2015-04-21 15:48:06 -07:00
Brad Rydzewski
0cd5dc1a5b Merge remote-tracking branch 'upstream/bolt' into bolt 2015-04-21 13:09:02 -07:00
Brad Rydzewski
85e17393fa some stubs for build config 2015-04-21 13:08:56 -07:00
Brad Rydzewski
f0ec8c33b6 Merge pull request #986 from oliveiradan/bolt
Unit Tests for: repo_test.go, task_test.go
2015-04-21 10:25:59 -07:00
Daniel Oliveira
3f2d72daf0 Code changes related to PR #986 and Issue #984. Comments deleted 2015-04-20 19:57:50 -06:00
Daniel Oliveira
09d5c6f011 Code changes related to PR #986 and Issue #984 2015-04-20 18:39:32 -06:00
Brad Rydzewski
2001719f7d Merge pull request #985 from benschumacher/bolt
Working on drone/drone#959
2015-04-20 15:56:17 -07:00
Ben Schumacher
38b939982a Working on drone/drone#959 2015-04-20 16:48:44 -06:00
Daniel Oliveira
627f8df98d Unit Tests for: repo_test.go, task_test.go 2015-04-20 15:01:48 -06:00
Brad Rydzewski
3520a295d5 added terminal highlight code 2015-04-16 22:16:32 -07:00
Brad Rydzewski
43381827b9 stubs for restarting, canceling builds 2015-04-16 22:07:13 -07:00