Brad Rydzewski
6fcae7d80a
hooks are protected with signed sha
2015-04-30 14:23:46 -07:00
Brad Rydzewski
ad80facbbd
websocket output working
2015-04-29 19:57:43 -07:00
Brad Rydzewski
ca931cd9eb
ability to persist agent data
2015-04-29 15:26:22 -07:00
Daniel Oliveira
24a0d15281
solved SetBuildTask() test, properly populating Tasks
2015-04-27 12:34:33 -06:00
Daniel Oliveira
abc83303ee
solve build.go conflict
2015-04-24 18:19:48 -06:00
Brad Rydzewski
da350989d3
fixed minor queue glitches
2015-04-24 14:25:03 -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
Ben Schumacher
4362adf78b
Fix error handling, remove unused bucketBuildTasks
2015-04-22 10:50:45 -06:00
Daniel Oliveira
6d5255aa75
Merge remote-tracking branch 'upstream/bolt' into bolt
2015-04-21 20:42:13 -06: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
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
cd18645784
contemplating nested storage of tasks and statuses
2015-04-15 23:45:24 -07:00
Brad Rydzewski
0c3f9e5bde
REST cleanup. Idiomatic naming of datastore funcs
2015-04-14 22:04:38 -07:00
Brad Rydzewski
1ad5e3f597
repo subscriptions functioning in datastore w/ index
2015-04-13 21:39:05 -07:00
Brad Rydzewski
5e7c4e2573
cleaned up a couple of the db functions
2015-04-13 19:25:11 -07:00
Brad Rydzewski
768b6c7e48
removed User.Tokens temporary index
2015-04-13 16:00:13 -07:00
Brad Rydzewski
a50d972d8e
push common index functions to util.go for reuse
2015-04-13 15:51:15 -07:00
Brad Rydzewski
57188ee4f2
ability to manage tokens
2015-04-13 01:22:51 -07:00
Brad Rydzewski
54e4250df9
ability to limit (or not) the log output
2015-04-12 23:08:55 -07:00
Brad Rydzewski
66990a95b4
initial work on tokens
2015-04-12 22:32:32 -07:00
Brad Rydzewski
eda3cfbe4b
added logging when login or hook fails. helps troubleshoot common issues
2015-04-11 15:46:30 -07:00
Brad Rydzewski
ab3df4bd65
added some initial code for build list. will revisit.
2015-04-10 23:11:41 -07:00
Brad Rydzewski
087f92f41f
tokens, last build
2015-04-10 22:22:55 -07:00
Ben Schumacher
46114f1231
Rework BoltDB util functions to use bolt.Tx instead of DB along with updates to existing API that leverage these to use Bolt's transaction wrapping functions.
2015-04-10 15:01:03 -06:00
Ben Schumacher
7bff8b3185
Add sequencing logic into the InsertBuild and test
2015-04-10 10:14:02 -06:00
Brad Rydzewski
950e4f4090
storing user repos index inside users object, for now
2015-04-08 22:18:25 -07:00
Brad Rydzewski
9298f16155
added handlers, rest, angular skeleton
2015-04-08 15:43:59 -07:00
Brad Rydzewski
d9fd23a6df
experimental branch. playing around with boltdb
2015-04-07 01:20:55 -07:00