Commit graph

2616 commits

Author SHA1 Message Date
Vaidas Jablonskis
f4f61cb57a Fix exec panic when missing variables
Fixes #1810
2016-10-17 21:43:41 +01:00
Brad Rydzewski
2d90155d5a fix incorrect team secret middleware assignment 2016-10-14 12:21:40 +02:00
Josh Quintana
67a88c5d13 Fix: (MySQL) key exceeds max on MariaDB
Fixes MariaDB `Specified key was too long; max key length is 767 bytes` error
2016-10-08 14:31:56 -04:00
Oliver Marks
9d5e17ee92 add in validation for shm size, run go fmt on util.go 2016-10-07 22:18:46 +01:00
Brad Rydzewski
5130919869 Merge pull request #1802 from artofhuman/master
Fix docs typos [CI SKIP]
2016-10-07 22:27:48 +02:00
Semyon Pupkov
5f457dd57f Fix docs typos 2016-10-06 10:52:38 +05:00
Oliver Marks
f478c8eeb6 Add in docker shm-size option, mainly for oracle xe 2016-10-03 21:48:31 +01:00
Brad Rydzewski
3631c4d4cd added log dep 2016-09-29 17:48:17 -04:00
Brad Rydzewski
76b0286b68 update agent logs 2016-09-29 17:45:13 -04:00
Brad Rydzewski
17a77127b6 fixed git clone issue 2016-09-29 17:23:26 -04:00
Brad Rydzewski
66aa18922f fixed yaml unit tests 2016-09-28 15:59:58 -04:00
Brad Rydzewski
2bb47ed7cb fix Makefile to pull drone/mq 2016-09-28 15:56:19 -04:00
Brad Rydzewski
7c19801bfa setup docker 0.5.0-rc with queue 2016-09-28 15:52:59 -04:00
Brad Rydzewski
9f937e2425 removed default image namespacing 2016-09-27 20:40:59 -05:00
Brad Rydzewski
778971eb68 removed unused packages 2016-09-27 20:30:28 -05:00
Brad Rydzewski
584ec88b07 add platform field and selector capabilities 2016-09-27 20:16:46 -05:00
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