Commit graph

171 commits

Author SHA1 Message Date
Brad Rydzewski
1627d5f5da Merge pull request #802 from Bugagazavr/bintray
Bintray
2015-01-13 09:10:50 -08:00
Kirill Zaitsev
ce5d4edca5 Bintray plugin 2015-01-12 16:50:59 +03:00
Matt Bostock
b027bd8392 Run gofmt and add test to prevent regressions
Run `go fmt ./...` [1] and add a test to the `test` make target that
checks if `go fmt` has been run.

[1]: http://blog.golang.org/go-fmt-your-code
2015-01-11 18:54:34 +00:00
Cédric Krier
cb6ade6919 Missing URL for bitbucket Repo 2015-01-11 02:13:12 +01:00
Grzegorz Graczyk
c90303aaf7 add --pull to docker build in docker publish plugin 2015-01-07 16:27:24 +01:00
Grzegorz Graczyk
262c0d66c0 check if tag wasn't used for image building 2015-01-05 12:12:37 +01:00
Michael Nutt
b94280c15c Change from notification after_success and after_failure to change
Also removes the extra db field; instead, just send Prior as part of the Request.

This reverts commit e8b993e7da.
2014-12-30 13:25:14 -05:00
Michael Nutt
e8b993e7da Add support for after_success and after_failure to email notifications
This allows you to restrict email notifications to only be sent after the build changes from success to failure or failure to success.  It errs on the side of sending the notification; if the build is in another state (hung, for instance) or there was no previous build on the branch the email will also be sent.

Since the notify plugin shouldn't really have any responsibility for querying the database to find the previous commit's status, we store it on the commit when we save it.
2014-12-30 11:37:57 -05:00
mopemoepe
7898103663 Add Dropbox plugin 2014-12-25 17:32:59 +09:00
Gary Borton
d4434c2a27 Make Heroku destination refspec more specific. 2014-12-16 04:04:27 -05:00
Brad Rydzewski
01ca940add Merge pull request #732 from msteinert/gitlab-verify-skip
Add Gitlab certificate verification configuration
2014-12-14 23:21:11 -08:00
Brad Rydzewski
e70c8d5c75 Merge pull request #755 from Bugagazavr/katoim
Added KatoIM support
2014-12-13 13:22:22 -08:00
Amanda Cameron
74f574f864 Fix IRC notification to use .Quit() instead of .Disconnect() 2014-12-13 10:23:44 -05:00
Amanda Cameron
1236d44bfc Fix the IRC notification plugin. 2014-12-13 09:48:56 -05:00
Kirill Zaitsev
3d244fcdae Added KatoIM support 2014-12-13 13:01:21 +03:00
Michael Steinert
d1099bcf53 Add Gitlab certificate verification configuration
Requires Bugagazavr/go-gitlab-client@4e00e40109
2014-12-09 10:16:59 -06:00
Ke Zhu
1cb586dfbc use api key for deployment to heroku 2014-12-07 10:15:01 -05:00
Pierre Kircher
fdd4547b1c plugin skeleton for deis
fixed test cases
2014-11-27 23:40:47 +00:00
Christopher Brickley
270ce52b76 add gogs support 2014-11-18 21:50:05 -05:00
Brad Rydzewski
789435d06d Merge pull request #715 from bradrydzewski/master
fix for #713, match branches with wildcard
2014-11-18 15:12:57 -08:00
Brad Rydzewski
f15cc20b5d fix for #713, match branches with wildcard 2014-11-18 14:09:30 -08:00
Brad Rydzewski
0af15d502c Merge pull request #614 from marksteve/update-slack
Update Slack plugin config (Closes #612)
2014-11-17 21:49:23 -08:00
Brad Rydzewski
0dce99f5f4 instructs Drone to ignore cert verification if self-signed 2014-11-17 11:18:58 -08:00
Mark Steve Samson
7c27628976 Update Slack plugin config (Closes #612) 2014-11-17 21:22:04 +08:00
ap4y
65f938888e Add plain text fallback messages for slack plugin 2014-11-11 17:18:18 +13:00
epipho
fb254e3f2c docker_version can now be left blank to automatically download and
install the latest available. Docker client will not be installed if it
is already present in the build container.
2014-11-06 22:37:57 -05:00
Christopher Brickley
22698625ed swap url and linktext positions for slack 2014-11-04 14:39:33 -05:00
Brad Rydzewski
5022db8d55 updated unit tests to account for quoted env vars 2014-11-01 11:41:02 -07:00
Brad Rydzewski
3642c903c5 using %q for quoting ssh command 2014-10-28 20:59:13 -07:00
Brad Rydzewski
13fedafc59 Merge pull request #621 from nils-werner/ssh-quotes
Wrap ssh cmd in quotes
2014-10-28 20:57:25 -07:00
Kirill Zaitsev
c7649e15b1 Add gitlab repo url 2014-10-28 03:21:19 +03:00
Brad Rydzewski
2872b3ce4a Merge pull request #613 from ciarand/master
Adjust Slack message format to match HipChat's
2014-10-26 12:45:39 -07:00
Nils Werner
3fa78ac088 Fix failing unittest 2014-10-25 15:04:22 +02:00
Brad Rydzewski
1fd1c5e292 fixe #620 2014-10-24 08:52:42 -07:00
Nils Werner
7d9e74e950 Wrap ssh cmd in quotes to prevent execution of &&-chained commands on local machine 2014-10-24 16:19:13 +02:00
Ciaran Downey
0a0151fa5e Adjust Slack message format to match HipChat's
Also add some tests for formatting. See #586.
2014-10-22 22:26:14 -07:00
Andrew Vos
286d5fe94c Fix incorrect drone branch for pull requests
Fixes #607
2014-10-22 11:56:06 +01:00
Brad Rydzewski
4f30e1388c only generate repo token or key if not exists 2014-10-22 01:02:14 -07:00
Brad Rydzewski
273755d2a0 Merge pull request #603 from gregory90/fix-commit-author-bitbucket
Fix commit author email for bitbucket
2014-10-22 00:56:00 -07:00
Brad Rydzewski
19384c5e3e Merge pull request #605 from bradrydzewski/master
slightly altered the URL token format
2014-10-22 00:45:38 -07:00
Brad Rydzewski
601e3e6d48 slightly altered the URL token format 2014-10-22 00:41:25 -07:00
Grzegorz Graczyk
79e0c7a84f move regexp to package level variable, add check for email array 2014-10-22 09:37:04 +02:00
Brad Rydzewski
5fe126ec83 Merge pull request #604 from bradrydzewski/master
added token to post-commit hooks
2014-10-22 00:31:03 -07:00
Brad Rydzewski
7009778176 added token to post-commit hooks 2014-10-22 00:13:47 -07:00
Grzegorz Graczyk
25b887c059 get commit author email address from raw_author instead of author field for bitbucket 2014-10-22 08:52:45 +02:00
epipho
2bc2d45612 Docker publish: added tags field to allow for a single build to be tagged with multiple
tags. Only push tags that are applied to the repo. Change custom_tag to just tag.
2014-10-21 23:55:33 -04:00
Daniel Graña
92b52402b9 Simplify docker publish plugin 2014-10-17 17:38:35 -02:00
Daniel Graña
2f586f0acb quicker and less verbose docker installation for publish step 2014-10-17 16:55:39 -02:00
Brad Rydzewski
d0afc3df94 returning error from notification sendJson for debugging 2014-10-14 22:43:29 -07:00
Brad Rydzewski
9ed96af13b modified Gitter api to use constants when comparing status 2014-10-14 21:53:27 -07:00
Brad Rydzewski
cd1fbe5d85 ability to customize the session secret and expiration 2014-10-11 20:33:06 -07:00
Brad Rydzewski
ab6b666650 removed modulus and jitsu from deployment package 2014-10-11 19:33:13 -07:00
Brad Rydzewski
89f8d17b8d moved nodejitsu deploy to its own package with unit tests 2014-10-11 19:32:31 -07:00
Brad Rydzewski
c4838dfaed fixed modulus typos 2014-10-11 19:30:19 -07:00
Brad Rydzewski
aac863b896 moved modulus deploy to separate package with unit tests 2014-10-11 19:20:47 -07:00
Brad Rydzewski
5c13d6ba35 removed unused deployment file stubs 2014-10-11 18:55:58 -07:00
Brad Rydzewski
418e3cab45 unit tests for Tsuru plugin 2014-10-11 18:52:31 -07:00
Brad Rydzewski
e5f4366772 added unit tests for Heroku deploy 2014-10-11 18:49:40 -07:00
Brad Rydzewski
82a7ea857d unit tests for git deploy plugin 2014-10-11 18:37:27 -07:00
Brad Rydzewski
4f3f2875f6 merged flowdock notifications & github publishing into exp 2014-10-11 16:14:49 -07:00
Brad Rydzewski
76f76c0bf6 fixed slack test 2014-10-11 15:41:20 -07:00
Brad Rydzewski
ea05ec725a merged plugin changes from master to exp 2014-10-11 15:35:25 -07:00
Brad Rydzewski
167eb21b21 modified Docker plugin to use new Condition struct to limit execution 2014-10-11 14:35:06 -07:00
Brad Rydzewski
2c9f45f1ab Merge pull request #519 from epipho/518-docker-publish
Bringing the docker publish plugin from master to exp
2014-10-11 14:30:18 -07:00
hiwrac
25127e2958 Bringing the docker publish plugin from master to exp 2014-10-10 05:26:51 -04:00
Matt Martz
086554a8b0 add slack colors to messages
cherry-picked over 224ff3ca08 from master
2014-10-08 11:57:17 -04:00
Brad Rydzewski
d00cf9e650 added tests for npm changes #516 2014-10-07 19:45:11 -07:00
Brad Rydzewski
f8d5162c02 updating npm publish for #516 2014-10-07 19:15:33 -07:00
Kirill Zaitsev
a6f38b3966 Added gitter support 2014-10-02 18:26:47 +04:00
Brad Rydzewski
5f950d21c4 hooked up jwt token in angular 2014-09-30 00:43:50 -07:00
Brad Rydzewski
cc87e7a1fa fixed default Docker port to match post 1.0 2014-09-23 23:36:07 -07:00
ap4y
8e6d6012aa Use DI for hipchat client, add tests for hipchat notifications via mocked client 2014-09-15 19:52:15 -07:00
ap4y
7e021f9eb7 Notify silently on start and success, trigger hipchat notifications only
on fail
2014-09-15 04:20:43 -07:00
ap4y
9e761c319c Make hipchat notification messages more verbose 2014-09-15 04:20:02 -07:00
Brad Rydzewski
6f3997f4e1 moved IRC and Webhooks to their own packages
updated email template to include link to build
updated readme to include correct badge
2014-09-09 23:19:04 -07:00
Brad Rydzewski
3493b868ef upgrade go1.3 and irc library 2014-09-09 21:41:11 -07:00
Brad Rydzewski
5eb0aab517 fixed IRC plugin 2014-09-09 21:32:10 -07:00
Brad Rydzewski
5c26f79940 fixed error with baseURL in github status api plugin 2014-09-09 20:11:50 -07:00
Brad Rydzewski
7b62f3ff85 Update github.go 2014-09-09 12:08:48 -07:00
Brad Rydzewski
0987a9ad59 verified fix for github enterprise email issues 2014-09-09 01:37:02 -07:00
Brad Rydzewski
522310ecb8 improvements to github enterprise flow when no primary email 2014-09-09 01:09:19 -07:00
Brad Rydzewski
1ff56ef51c handle github enterprise not supporting verified / primary emails 2014-09-09 00:32:47 -07:00
Brad Rydzewski
2cca926a06 vendored goauth2, see https://code.google.com/p/goauth2/issues/detail?id=31 2014-09-08 23:57:48 -07:00
Brad Rydzewski
9455dbab9f improved error messaging in Github's GetLogin 2014-09-08 23:09:00 -07:00
Brad Rydzewski
09ebb92a42 added when condition to publish plugins 2014-09-07 23:37:53 -07:00
Brad Rydzewski
51a0407101 fixed deploy unit tests 2014-09-07 23:28:49 -07:00
Brad Rydzewski
a9f2affd5c updated all deployments to include conditional logic 2014-09-07 23:08:35 -07:00
Brad Rydzewski
e3c87388e4 added a condition section to YAML elements 2014-09-07 18:33:47 -07:00
Brad Rydzewski
31b1ed1f48 added a private mode flag for github enterprise, defaulted to true 2014-09-07 11:26:16 -07:00
Brad Rydzewski
b9c103cef8 includes fix for #335 in exp branch 2014-09-06 13:08:56 -07:00
Brad Rydzewski
617476784d getting gitlab project permissions only if user is not repo owner
also move Timeout value to repo activation
2014-09-06 12:07:47 -07:00
Brad Rydzewski
73d2f5c1ca Merge pull request #444 from Bugagazavr/exp-gitlabfix
Fix gitlab permissions sync #415
2014-09-06 10:54:33 -07:00
Brad Rydzewski
b92ae8b3c7 forcing github hook as form content_type 2014-09-06 10:29:06 -07:00
Brad Rydzewski
8ad36255de get githook hook payload from either form or json 2014-09-06 10:23:36 -07:00
Brad Rydzewski
5f3b882c0c fixed typo 2014-09-05 20:40:18 -07:00
Brad Rydzewski
962a4487d7 optional name param for GH plugin 2014-09-05 18:35:05 -07:00
Kirill Zaitsev
068a7583be Fix timeout 2014-09-05 22:49:59 +04:00
Kirill Zaitsev
49f03cd7e7 Updated mocks 2014-09-05 22:14:18 +04:00
Kirill Zaitsev
afa928af0c Fix gitlab permissions sync #415 2014-09-05 21:37:29 +04:00
Brad Rydzewski
c858c3b2b8 fixed issue when no gitlab permissions exist, but user is repo owner 2014-09-03 01:23:45 -07:00