Commit graph

2115 commits

Author SHA1 Message Date
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
Vaidas Jablonskis
009e8a1dce publish/docker: login should happen early
This fixes an issue where base image which drone is using to build an
image for publishing comes from a private repo.
2015-04-17 16:21:09 +01:00
Brad Rydzewski
af9c1e9bd7 Merge pull request #973 from 907th/hipchat_api_v2
Use HipChat API ver 2 for notifications
2015-04-16 23:38:18 -07: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
Brad Rydzewski
fd5a017384 added public key to repo settings 2015-04-16 15:15:05 -07:00
Brad Rydzewski
c4279678e8 only fetch logs if build finished 2015-04-16 15:05:00 -07:00
Brad Rydzewski
5f35f46c24 embedded task and status in build struct 2015-04-16 14:45:05 -07:00
Brad Rydzewski
110af2a196 using gravatar library instead of our own built-in func 2015-04-16 00:31:17 -07:00
Brad Rydzewski
433159e990 hook now calculates build matrix and creates appropriate tasks 2015-04-16 00:24:53 -07:00
Brad Rydzewski
5816f1156e add yaml parser, build execution code. not yet hooked up 2015-04-16 00:10:17 -07:00
Brad Rydzewski
cd18645784 contemplating nested storage of tasks and statuses 2015-04-15 23:45:24 -07:00
Brad Rydzewski
c324d66872 ability to pull list of orgs and verify membership 2015-04-15 00:20:00 -07:00
Brad Rydzewski
0c3f9e5bde REST cleanup. Idiomatic naming of datastore funcs 2015-04-14 22:04:38 -07:00
Alexey Chernenkov
d9f855e5b6 Try to build with the latest Docker sources 2015-04-14 12:07:04 +05:00
Alexey Chernenkov
9bc3a25a5e Fix dependency: github.com/docker/docker/utils was moved to pkg/jsonmessage 2015-04-14 11:54:41 +05:00
Alexey Chernenkov
8bcb5d9c52 Use HipChat notification API ver 2
HipChat API v1 is deprecated, but github.com/andybons/hipchat (used by Drone) does not support v2.
So I've implemented v2 using native http.PostForm.
2015-04-14 11:49:35 +05: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
aebacfccd7 fixed token expiration calculation 2015-04-13 19:11:33 -07:00
Brad Rydzewski
a40d20dcdb check token expiry 2015-04-13 19:07:05 -07:00
Brad Rydzewski
d1d762aa83 fail to generate user tokens if no secret 2015-04-13 18:43:21 -07:00
Brad Rydzewski
6c3f99065a ability to manage user tokens via website 2015-04-13 16:33:29 -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
701626881e ability to create a token 2015-04-12 23:15:28 -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
0f60073adc session tokens converging with user tokens 2015-04-12 21:35:16 -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
Brad Rydzewski
840ea6d595 Merge pull request #970 from benschumacher/issue-drone/drone#969
Rework BoltDB util functions to use bolt.Tx instead of DB
2015-04-10 14:12:03 -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
Brad Rydzewski
779a6b46ab Merge pull request #968 from benschumacher/bolt-drone/drone#959
Add sequencing logic into the InsertBuild and test
2015-04-10 09:45:43 -07:00
Ben Schumacher
7bff8b3185 Add sequencing logic into the InsertBuild and test 2015-04-10 10:14:02 -06:00
Brad Rydzewski
e01c7242d8 Merge pull request #951 from kirillseva/patch-1
Fix small typo in comments
2015-04-09 20:50:52 -07:00