Commit graph

1243 commits

Author SHA1 Message Date
Brad Rydzewski
ae65cf5fdb Merge pull request #797 from mattbostock/go_fmt
Run gofmt and add test to prevent regressions
2015-01-11 11:13:35 -08:00
Brad Rydzewski
254d910a62 Merge pull request #796 from mattbostock/tidy_dependencies
Remove explicit `go get` for rice and goblin pkgs
2015-01-11 11:03:34 -08: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
Matt Bostock
3cb015a287 Remove explicit go get for goblin package
The goblin package will be pulled in by the `go get` invocation
on the following line as it's references by imports, so there's no
need to list it separately.
2015-01-11 18:41:49 +00:00
Brad Rydzewski
6ed8542f7d Merge pull request #792 from cedk/patch-1
Missing URL for bitbucket Repo
2015-01-10 18:10:11 -08:00
Brad Rydzewski
40b5ea350e Merge pull request #791 from libgo/badges
README: flat style SVG badges
2015-01-10 18:06:01 -08:00
Cédric Krier
cb6ade6919 Missing URL for bitbucket Repo 2015-01-11 02:13:12 +01:00
Nathan Youngman
49a591b451 README: flat style SVG badges
For consistency.
2015-01-09 23:22:03 -07:00
Brad Rydzewski
5afcc88827 Merge pull request #782 from gregory90/fix-759
Don't retag images with tag used for `docker build`
2015-01-08 22:01:07 -08:00
Brad Rydzewski
fec8be34e9 Merge pull request #783 from carnivalmobile/word_break_terminal_output
Enforce word breaks in terminal output
2015-01-08 22:00:30 -08:00
Brad Rydzewski
89098f1568 Merge remote-tracking branch 'upstream/master' 2015-01-07 08:18:15 -08:00
Grzegorz Graczyk
c90303aaf7 add --pull to docker build in docker publish plugin 2015-01-07 16:27:24 +01:00
ap4y
a6278f35fb Enforce word breaks in terminal output 2015-01-06 00:31:21 +13:00
Grzegorz Graczyk
262c0d66c0 check if tag wasn't used for image building 2015-01-05 12:12:37 +01:00
Brad Rydzewski
b4ca338948 ability to override the public private key for a repository via the CLI 2015-01-04 15:21:35 -08:00
Brad Rydzewski
0a6227930d Merge pull request #777 from bradrydzewski/master
improved debugging when Docker errors
2014-12-30 13:21:30 -08:00
Brad Rydzewski
f890d42019 fixed unit test 2014-12-30 13:17:54 -08:00
Brad Rydzewski
c3e00e2608 improved error messaging for failed build due to Docker errors 2014-12-30 13:09:05 -08:00
Brad Rydzewski
baaaa4069e Merge remote-tracking branch 'upstream/master' 2014-12-30 10:58:59 -08:00
Brad Rydzewski
b3070a0d22 Merge pull request #774 from movableink/notify-after-failure-after-success
Add support for after_success and after_failure to email notifications
2014-12-30 10:47:49 -08:00
Brad Rydzewski
485ddb39a5 Merge remote-tracking branch 'upstream/master' 2014-12-30 10:35:50 -08:00
Brad Rydzewski
76fd8b0d66 only inject ssk key if private repository or pull request 2014-12-30 10:35:44 -08:00
Michael Nutt
0106a5e21d no longer need to limit Prior commit to those that have status Success or Failure 2014-12-30 13:29:38 -05: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
Brad Rydzewski
4693b1f526 Merge pull request #765 from Bugagazavr/detect_envs
Automatically detect ENV variables
2014-12-27 13:14:54 -08:00
Kirill Zaitsev
5b07ef5ffe Automatically detect ENV variables 2014-12-27 23:52:43 +03:00
Brad Rydzewski
4ec8eff504 Merge pull request #768 from mopemope/dropbox
Add Dropbox plugin
2014-12-27 12:52:23 -08:00
Brad Rydzewski
55967e1f32 Merge pull request #770 from msteinert/robots-txt
Serve `robots.txt` from `/`
2014-12-27 12:45:48 -08:00
mopemoepe
7898103663 Add Dropbox plugin 2014-12-25 17:32:59 +09:00
Michael Steinert
441de03fb9 Serve robots.txt from /
This change allows `robots.txt` to be served from the root URL, i.e.
https://drone.io/robots.txt, which is where [web crawlers will look for
it][1]. Previously this file was only served from `/static/robots.txt`.

[1]: http://www.robotstxt.org/robotstxt.html
2014-12-24 13:03:08 -06:00
Brad Rydzewski
f1c5a45b5a Merge pull request #762 from mopemope/fix-fd-leak
Fix Docker Client FileDescriptor Leak
2014-12-18 10:14:49 -08:00
mopemoepe
2059c6f4e6 Fix Docker Client FileDescriptor Leak 2014-12-19 01:58:17 +09:00
Brad Rydzewski
0452090358 Merge pull request #760 from gdborton/master
Make Heroku destination refspec more specific.
2014-12-17 21:50:07 -08: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
f86e73bdbf Merge pull request #720 from floatdrop/hostname-in-drone-yml
Add hostname in docker section of .drone.yml
2014-12-14 23:18:06 -08:00
Brad Rydzewski
e70c8d5c75 Merge pull request #755 from Bugagazavr/katoim
Added KatoIM support
2014-12-13 13:22:22 -08:00
Brad Rydzewski
f79e091519 Merge pull request #757 from AmandaCameron/bugfix/irc-notify
Fix the IRC notification plugin.
2014-12-13 13:19:01 -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
Brad Rydzewski
fc881ba7f1 Merge pull request #754 from Bugagazavr/pr2
Move env variables outsude docker build #PR2
2014-12-12 18:01:44 -08:00
Kirill Zaitsev
6609d09e91 Move env variables outsude docker build #PR2 2014-12-12 12:01:12 +03:00
Brad Rydzewski
3140b777fe Merge pull request #753 from Bugagazavr/pr1
Move id_rsa outside docker build #PR1
2014-12-11 16:47:21 -08:00
Kirill Zaitsev
6b586c62da Move id_rsa outside docker build #PR1 2014-12-12 01:42:38 +03:00
Brad Rydzewski
d5447f2110 Merge pull request #752 from drone/revert-751-pr1
Revert "Move id_rsa outside docker build #PR1"
2014-12-11 14:30:34 -08:00
Brad Rydzewski
9dec0d4a26 Revert "Move id_rsa outside docker build #PR1" 2014-12-11 14:30:15 -08:00
Brad Rydzewski
be1db9f3f8 Merge pull request #751 from Bugagazavr/pr1
Move id_rsa outside docker build #PR1
2014-12-11 12:57:27 -08:00
Kirill Zaitsev
82f6b77baf Move id_rsa outside docker build #PR1 2014-12-11 22:58:36 +03:00