Commit graph

186 commits

Author SHA1 Message Date
kpacha
cb9a7f049e fix the curl construction 2015-09-17 16:16:58 +02:00
Kpacha
4d08b91865 go fmt 2015-09-16 19:43:37 +02:00
Kpacha
45b3f3cf79 use PUT method instead POST 2015-09-15 19:54:39 +02:00
Henrik Jonsson
f98ac21010 Fix build errors due to changes in github.com/gogits/go-gogs-client
Change ParseHook -> ParsePushHook
(https://github.com/gogits/go-gogs-client/blob/master/repo_hooks.go#L185),
PayloadCommit.Id->ID
(https://github.com/gogits/go-gogs-client/blob/master/repo_hooks.go#L88).

Tested: `make deps` works after this change

Fixes #1185
2015-09-03 17:30:40 +02:00
Brad Rydzewski
dbdad86d90 fix SSL error when wget docker 2015-09-02 11:53:36 -07:00
Kpacha
381c6d0782 send build status updates to gitlab as comments on the related commit 2015-08-16 18:49:54 +02:00
Bugagazavr
83d78f6830 Probe for push tag events 2015-08-10 10:20:58 +03:00
Brad Rydzewski
57bcab18a9 Merge pull request #1067 from etix/master
slack: implement on_change
2015-08-03 00:52:40 -07:00
Dwayne Jones
b5ce379941 Start of plugin 2015-07-31 12:59:13 -04:00
Ludovic Fauvet
52c8622f59 slack: implement on_change 2015-06-19 16:58:49 +02:00
Bugagazavr
89942c6f95 Fix self-signed certificates 2015-06-09 23:18:43 +03:00
Brad Rydzewski
90de72aacc Merge pull request #1016 from davidmc24/feature/hipchat-server
Add server parameter to hipchat configuration (#950)
2015-05-31 13:05:31 -07:00
Brad Rydzewski
09b26bf784 Merge pull request #981 from vaijab/docker-login
publish/docker: login should happen early
2015-05-15 09:57:25 -07:00
David M. Carr
41a47bcb73 Fix minor typo in remote.go 2015-05-14 11:49:55 -04:00
David M. Carr
a5928aa57e Add server parameter to hipchat configuration (#950)
This allows compatibility with HipChat Server, the self-hosted version of the HipChat service.
2015-05-14 11:00:17 -04:00
Kirill Zaitsev
29b44015fd Fix token problems at first login 2015-04-29 03:13:21 +03:00
Kirill Zaitsev
4b3eaec70c Since 7.10 token life unlimited 2015-04-25 02:19:28 +03: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
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
Henrik Jonsson
525d6d1329 s/heper/helper in helper.go 2015-04-08 15:18:01 +02:00
Henrik Jonsson
2526fb17c5 if publish.docker.email is unspecified, pass in -e ' ' to avoid having the line end up as 'docker login -u foo -p bar -e someregistry', which is interpreted as 'log in user foo with pass bar and email someregistry to https://index.docker.io/v1/' (c.f. 'docker help login') 2015-04-01 18:21:33 +02:00
Andy Gardner
e59d205bda Adding drone icon to slack notifications 2015-03-05 09:57:49 +00:00
Andy Gardner
dd805c2246 Fixing bug which prevented Webhook notifications on build failure 2015-02-25 12:51:03 +02:00
Kirill Zaitsev
961a91dd23 Allow to skip verify in oauths requests 2015-02-24 00:27:17 +03:00
Andrew Weiss
18ed28867f Merge branch 'master' into azure-storage 2015-02-21 14:33:48 -05:00
Brad Rydzewski
cfe50421dc remove typo in github status message 2015-02-20 17:44:43 -08:00
Andrew Weiss
4e5bcb527b plugin support for Azure Storage 2015-02-20 17:21:11 -05:00
Brad Rydzewski
bd606c43e0 Merge pull request #862 from ilbambino/master
Possibility to retag docker images
2015-02-20 09:55:21 -08:00
Brad Rydzewski
bd8dcf8de5 Merge pull request #876 from masarakki/fix-for-ghe-private
Change repo to be private when GHE is private mode.
2015-02-12 23:09:19 -08:00
masarakki
8d1015a106 Change repo to be private when GHE is private mode. 2015-02-13 14:09:53 +09:00
Brad Rydzewski
a5dd61f480 display list of required orgs in github login error 2015-02-12 15:19:31 -08:00
Ulrich Schreiner
d3b337ff30 bug in error handling 2015-02-06 12:05:39 +01:00
Ulrich Schreiner
7b02878df9 reuse more existing code 2015-02-06 12:02:02 +01:00
Ulrich Schreiner
f57640a402 remove hook/key from a bitbucket repo 2015-02-06 11:36:31 +01:00
Ulrich Schreiner
5f9887a49c Merge branch 'master' into delrepo 2015-02-06 10:30:10 +01:00
Brad Rydzewski
271974e98f fixed go.rice issue 2015-02-05 18:48:16 -08:00
Ulrich Schreiner
05b6dad81e Merge branch 'master' into delrepo 2015-02-05 14:47:35 +01:00
Ulrich Schreiner
bd8fb51c2a rework to delete the repository from the datastore if there are previous errors from the remote 2015-02-05 13:13:17 +01:00
Ulrich Schreiner
347aa24785 remove Printf output and do a real removal of the repository in the datastore 2015-02-04 15:13:23 +01:00
Ulrich Schreiner
0ed7ae7e3f impelement a delete of a repository 2015-02-04 14:42:24 +01:00
Kirill Zaitsev
6ca94970d6 Refresh only expired tokens 2015-02-04 13:18:46 +03:00
Alvaro
4b59896f4c Fix the tests.
Not very elegant, but now the strings have an extra space to allow putting the options there.
2015-01-30 10:07:55 +02:00
Alvaro
a6caa67c6f Be able to force docker to update the tags 2015-01-30 09:10:19 +02:00
Kirill Zaitsev
d225181a0f Refresh tokens before any requests to remote 2015-01-27 02:33:27 +03:00
Uchio KONDO
6699770e76 Fix loop to be consistent with the others 2015-01-26 16:20:53 +09:00
Uchio KONDO
e4efc039c9 Merge remote-tracking branch 'origin/master' 2015-01-26 15:51:09 +09:00
Brad Rydzewski
7c13fdac79 Merge pull request #846 from Bugagazavr/gitlab-ouath
Gitlab oauth login
2015-01-25 22:42:14 -08:00
Brad Rydzewski
35acc48dd1 Merge pull request #848 from bradrydzewski/master
vendored flowdock dependency
2015-01-25 22:39:23 -08:00
Brad Rydzewski
6add452168 vendored flowdock dependency 2015-01-25 22:35:14 -08:00