Commit graph

2600 commits

Author SHA1 Message Date
Brad Rydzewski
6f44450ef8 initial sort of working mq integration 2016-09-27 19:33:13 -05:00
Brad Rydzewski
0b2f1c8e51 integrates drone/mq into agent 2016-09-26 03:29:05 -05:00
Brad Rydzewski
f2c1d46f9e queue integrated with server, but not agent 2016-09-26 00:39:28 -05:00
Brad Rydzewski
524fba6253 Merge pull request #1795 from appleboy/feature/branch
Fix branch name for bitbucket server.
2016-09-23 10:38:11 -05:00
Bo-Yi Wu
2bd6884dbd replace split with strings func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 22:19:12 +08:00
Brad Rydzewski
240f2a8ec5 Merge pull request #1789 from strk/typo2
Typo in privileged plugins listing
2016-09-09 19:06:51 -05:00
Sandro Santilli
0a07ae65ef Typo in privileged plugins listing 2016-09-10 01:16:06 +02:00
brice
37f89e924a Suppression de EventBranch 2016-09-08 21:05:44 +02:00
bsauvajon
c60f4f5c4b Manage TAG and BRANCH events sent from gogs 2016-09-08 21:05:44 +02:00
brice
549f600748 Suppression de EventBranch 2016-09-08 20:54:04 +02:00
bsauvajon
a24bcf2225 Manage TAG and BRANCH events sent from gogs 2016-09-08 20:54:04 +02:00
brice
744cf55bf5 change eventType for tag events from gogs 2016-09-07 08:46:42 +02:00
Brad Rydzewski
a3d6aeeb97 fix how we copy the static binary to /release 2016-09-03 13:58:20 -05:00
Brad Rydzewski
5b88ee0124 Fix missing dir in makefile 2016-09-03 13:08:52 -05:00
Brad Rydzewski
23234fa000 Merge pull request #1778 from strk/gogs-pr-hook
Add sample gogs web hooks (unused yet) [CI SKIP]
2016-09-01 15:51:56 -05:00
Sandro Santilli
320b8b68f0 Fix ticks 2016-09-01 21:49:44 +02:00
Brad Rydzewski
d4db122c3d Merge pull request #1780 from bobrik/bitbucket-cleanup
Cleanup debug logging in Bitbucket Server remote
2016-09-01 11:58:44 -05:00
Brad Rydzewski
dc5cdbe2b0 Merge pull request #1781 from bobrik/faster-build [CI SKIP]
Speedup local build iterations by reusing built packages
2016-09-01 11:58:24 -05:00
Ivan Babrou
527d0cd5c2
Speedup local build iterations by reusing built packages
Before cold and hot runs are the same:

```
$ rm -rf $GOPATH/pkg
```

```
$ time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go build --ldflags '-X github.com/drone/drone/version.VersionDev=' -o release/drone github.com/drone/drone/drone

real   	0m43.638s
user   	0m48.990s
sys    	0m5.480s
```

```
$ time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go build --ldflags '-X github.com/drone/drone/version.VersionDev=' -o release/drone github.com/drone/drone/drone

real   	0m46.950s
user   	0m49.506s
sys    	0m6.086s
```

After hot builds are much faster:

```
$ rm -rf $GOPATH/pkg
```

```
$ rm -rf $GOPATH/pkg && time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go install -ldflags '-X github.com/drone/drone/version.VersionDev=' github.com/drone/drone/drone
cp /Users/bobrik/projects/drone/bin/drone release/drone

real   	0m44.735s
user   	0m51.049s
sys    	0m4.517s
```

```
$ time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go install -ldflags '-X github.com/drone/drone/version.VersionDev=' github.com/drone/drone/drone
cp /Users/bobrik/projects/drone/bin/drone release/drone

real   	0m3.364s
user   	0m2.934s
sys    	0m0.808s
```
2016-09-01 17:45:08 +01:00
Ivan Babrou
113c63bf8e
Cleanup debug logging in Bitbucket Server remote 2016-09-01 17:25:11 +01:00
Sandro Santilli
bacb78a9e2 Add more hooks to existing fixture file 2016-09-01 17:59:07 +02:00
Brad Rydzewski
31a0fd0eed Merge pull request #1760 from josmo/add-container-labels
Adding the ability to label containers launched by drone
2016-09-01 10:39:04 -05:00
Brad Rydzewski
c6c1543275 Merge pull request #1777 from thiago/bitbucketserver
adding pagination of repositories on bitbucketserver
2016-09-01 10:32:45 -05:00
Sandro Santilli
a2829a2e96 Add sample gogs web hooks (unused yet) 2016-08-31 22:57:52 +02:00
Brad Rydzewski
7791cebf6b Merge pull request #1762 from appleboy/patch-6 [CI SKIP]
fix go coding style by gofmt.
2016-08-30 20:30:55 -07:00
Joachim Hill-Grannec
bd93982010 Merge branch 'master' into add-container-labels 2016-08-30 18:44:33 -04:00
Brad Rydzewski
a3303d5f5d Merge pull request #1771 from bradrydzewski/master
choose ambassador by platform
2016-08-30 10:02:19 -07:00
Thiago Rodrigues
3a926b35be better coding 2016-08-30 00:06:35 -03:00
Thiago Rodrigues
ced1221ef6 adding pagination of repositories on bitbucketserver 2016-08-29 22:23:59 -03:00
Brad Rydzewski
8eef2365ff Merge pull request #1773 from brgaulin/master
OAuth2 GHE Always Register BustedURL
2016-08-25 17:58:38 -07:00
Brendan Gaulin
5b58768d63 OAuth2 GHE Always Register BustedURL
When going through the oauth2 module in go, there is a list of "busted" URLs which don't implement OAuth2 properly.

Github is on that list, however Github Enterprise(GHE) uses different URLs for each instance. Instead of adding all of these to the global list in the oauth module, we can simply flag all of our tokens as broken until github updates their API.
2016-08-25 18:27:17 -04:00
Brad Rydzewski
e932bc8871 Merge pull request #1772 from benschumacher/bugfix/command
Correct escaping of commands in YAML
2016-08-25 12:11:59 -07:00
Ben Schumacher
e482ef2790 Correct escaping of commands in YAML 2016-08-25 13:02:23 -06:00
Brad Rydzewski
0f7253febb choose ambassador by platform 2016-08-25 11:35:28 -07:00
Brad Rydzewski
fec06207dd Merge pull request #1761 from josmo/bbserver-status-update
Status update for Bitbucket server
2016-08-21 01:01:53 -07:00
Brad Rydzewski
993694e280 Merge pull request #1770 from vaijab/fix_val_encode
Fix URI encoding
2016-08-19 10:32:49 -07:00
Vaidas Jablonskis
3539988604 Fix URI encoding
fmt.Sprintf was interpreting URL encoding chars previously. Ouch.
2016-08-19 18:27:08 +01:00
Brad Rydzewski
a81a13d73d Merge pull request #1764 from tboerger/feature/org-fixes
Correct arg length checks
2016-08-16 00:05:04 -07:00
Thomas Boerger
a4076e00ff
Correct arg length checks 2016-08-15 00:02:11 +02:00
Joachim Hill-Grannec
95b3a78aa9 Update to add the name which has a better indication for the label of what build the status is for 2016-08-14 12:27:53 -07:00
brice
5642e9ab3b Suppression de EventBranch 2016-08-14 12:26:35 +02:00
bsauvajon
c8d1fe0468 Manage TAG and BRANCH events sent from gogs 2016-08-14 12:26:35 +02:00
brice
82c534ad18 Suppression de EventBranch 2016-08-14 12:26:35 +02:00
Bo-Yi Wu
21430d2ecd fix go coding style by gofmt.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-14 12:25:45 +08:00
Joachim Hill-Grannec
5c7a66534d Adding the ability for the bitbucket server remote to update the status of commits on the server 2016-08-13 19:06:15 -07:00
Joachim Hill-Grannec
72e960e46a Removing transformations that aren't needed. 2016-08-13 14:59:44 -07:00
Joachim Hill-Grannec
aaa702dab6 Adding the ability to label containers that are launched using
labels:
    something: value
    something2: value2
2016-08-13 14:38:37 -07:00
Brad Rydzewski
fe750c751a Merge pull request #1757 from appleboy/patch-4
Testing author label length limitation for Bitbucket server. [CI SKIP]
2016-08-13 09:35:39 -07:00
Bo-Yi Wu
83056ab8b3 Testing author label length limitation.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-13 14:07:45 +08:00
Brad Rydzewski
e82ddd0022 Merge pull request #1755 from josmo/length-temp-fix
Quick fix for build author length on Stash remote
2016-08-12 17:23:55 -07:00