Commit graph

227 commits

Author SHA1 Message Date
Bo-Yi Wu
837ed7b84c Add testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-04 23:19:01 +08:00
Bo-Yi Wu
2a2ff0550c fix missing commit sha and wrong tag link.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-04 23:06:37 +08:00
Brad Rydzewski
578e8847cf Merge pull request #2241 from tboerger/fix-gitea
Urgent fix for changed auth behavior on Gitea
2017-10-13 07:59:47 -07:00
Thomas Boerger
517c003af2
Urgent fix for changed auth behavior on Gitea
Within the PR https://github.com/go-gitea/gitea/pull/2184 on Gitea the
project dropped the standard behavior to use x-auth-basic personal
access token. So we should use a proper username and the token from now
on to support Gitea >= 1.2.0. Since this driver anyway only supports
Gitea >= 1.2.0 this won't be a breaking change on Drone side, the only
breaking change is on side of Gitea!
2017-10-13 07:56:24 +02:00
Pavlo Kerestey
96734122b9 Fix typo of gogs pull request synchronized action 2017-10-12 12:32:17 +02:00
marcin.suterski
96af18993a
Use 'base_ref' as branch name for github tag events.
This chnage adds ability to filter builds by the source branch name for tag
events from Github.
2017-09-14 20:16:58 -04:00
Brad Rydzewski
913d8701f2 add gitlab v3 option for backward compat 2017-09-14 07:50:07 -07:00
Ivan Chernov
6074a0164e Update gitlab API to version v4 2017-09-07 21:05:26 +03:00
Brad Rydzewski
7826888729 update listing 2017-08-26 15:59:57 -07:00
mingshun
eb94dc0419 Added integration for coding.net 2017-07-22 17:12:09 +08:00
Brad Rydzewski
0b1a60fabc update gerrit implementation 2017-07-16 14:29:10 -04:00
Brad Rydzewski
35e0ee2e5f implement sync logic 2017-07-14 15:58:38 -04:00
Chris Fordham
76950da64d use of ProxyFromEnvironment for bitbucketserver
Similar to https://github.com/drone/drone/pull/1724. Currently it looks like drone only supports this with github and gitlab. This PR will add the proxy support for bitbucketserver.
2017-07-11 19:35:45 +10:00
Bo-Yi Wu
b833b16f32 add missing Email from Hook Event in gitea. (#2080)
* add missing Email from Hook Event in gitea.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix field.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix avatar path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-21 06:53:47 +02:00
Bo-Yi Wu
f2b63b634f
update hook event
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
25ddaf858b
support deactivate method and refactor file method
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
7f072e331a
fix gitea file testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
f186d4c898
Gitea return a sha with the pull request
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
8e58099c51
fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
1417948d3d
fix import
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
fefbf9f06b
fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
c018f1a475
fix: comment 2017-05-24 10:16:32 +08:00
Bo-Yi Wu
568e8f85d2
fix: update 2017-05-24 10:16:32 +08:00
Bo-Yi Wu
0f95c504a2
fix: [ci skip] update comment. 2017-05-24 10:16:32 +08:00
Bo-Yi Wu
4f256bfd5c
refactor: update vendor. 2017-05-24 10:16:32 +08:00
Bo-Yi Wu
2263ba2a8d
fix: rename Gogs to Gitea 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
70072321e9
fix: remove username json field. 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
4329268ee1
fix: add commit status testing. 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
82548c4587
fix: testing 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
35b1e1d386
feat: add gitea remote driver. 2017-05-24 10:16:31 +08:00
Brad Rydzewski
736e1bc9b5 fixed gogs pr unit test 2017-03-18 23:28:37 +08:00
Brad Rydzewski
0795dce4ed added logging 2017-03-18 23:20:09 +08:00
Brad Rydzewski
bd25f57fa7 fix mock package name 2017-03-18 19:50:20 +08:00
Brad Rydzewski
45af1697b8 no need to trim file ref 2017-03-18 19:48:54 +08:00
Brad Rydzewski
130c623a35 compare yaml files 2017-03-18 19:25:53 +08:00
Brad Rydzewski
e319aaff15 add reviewer fields, endpoints 2017-03-18 16:49:27 +08:00
Vaidas Jablonskis
d8281c2cdf Github: fix webhook struct tags 2017-03-01 16:47:46 +00:00
Joachim Hill-Grannec
df5d049239 Updates for consistency 2017-02-23 13:52:57 -08:00
Joachim Hill-Grannec
3141ccdaae gofmt 2017-02-23 13:21:47 -08:00
Joachim Hill-Grannec
82189c27fe Fix to check if the repo is enabled and don’t make a call to the settings it isn’t. The API works differently the first time vs if it’s ever been enabled. 2017-02-23 13:12:31 -08:00
Brad Rydzewski
89607232bc Merge pull request #1928 from josmo/fix-hooks
Last known issue with the stash/bitbucket server remote. Will now not…
2017-02-12 01:31:25 +11:00
Brad Rydzewski
505e36788e Merge pull request #1924 from josmo/stash-rsa-string
Stash rsa string
2017-02-11 16:22:58 +11:00
Bugagazavr
57b3752bd8 Use refs/merge-requests
https://github.com/drone/drone/issues/1931
2017-02-08 08:43:55 +02:00
Joachim Hill-Grannec
4b9a76570d Change to private (lowercase) 2017-02-04 20:42:17 -08:00
Joachim Hill-Grannec
f9a8fd4a0a Last known issue with the stash/bitbucket server remote. Will now not disable and override other hooks. It’ll add to the list of hooks and remove from the list of hooks on the project up to the max of 20 hooks 2017-02-04 15:27:01 -08:00
Joachim Hill-Grannec
a9e83aa5ce gofmt modified files 2017-02-01 13:49:26 -08:00
Joachim Hill-Grannec
c413565521 adding the ability to set the RSA key as a string value on drone startup instead of a file that has to be mounted. 2017-02-01 13:41:45 -08:00
Brad Rydzewski
84f1bb4528 Merge pull request #1887 from AlekSi/master
Expose OAuth2 errors, avoid redirect loop.
2017-01-20 19:15:46 +07:00
Brad Rydzewski
a913750b67 Merge pull request #1908 from patrickjahns/feature/bitbucket_email_author_fixed
Feature/bitbucket email author fixed
2017-01-20 17:51:42 +07:00
Patrick Jahns
63a0659aa4 change regex to global regex 2017-01-20 11:36:48 +01:00