Commit graph

1120 commits

Author SHA1 Message Date
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
Brad Rydzewski
c18f4385cd Merge pull request #744 from shawnzhu/heroku
use api key for deployment to heroku
2014-12-11 11:41:23 -08:00
Brad Rydzewski
d6ec0a2072 Merge pull request #750 from Bugagazavr/docker_fix
Fix docker TLS, update readme and config file
2014-12-11 11:40:52 -08:00
Kirill Zaitsev
12baa7a81a Fix docker TLS, update readme and config file 2014-12-10 18:39:46 +03:00
Michael Steinert
d1099bcf53 Add Gitlab certificate verification configuration
Requires Bugagazavr/go-gitlab-client@4e00e40109
2014-12-09 10:16:59 -06:00
Brad Rydzewski
5539f63ba5 Merge pull request #746 from shawnzhu/inject-params
parse build file with params injection
2014-12-07 16:24:39 -08:00
Brad Rydzewski
0504c8e353 Merge pull request #745 from shawnzhu/deploy
`drone build --deploy` doesn't work as expected
2014-12-07 16:22:57 -08:00
Ke Zhu
c6bc20dca7 parse build file with params injection 2014-12-07 11:26:43 -05:00
Ke Zhu
a7df1e59e6 fix --deploy and --publish flags to drone build 2014-12-07 10:46:25 -05:00
Ke Zhu
1cb586dfbc use api key for deployment to heroku 2014-12-07 10:15:01 -05:00
Brad Rydzewski
8f6a031c6a Merge pull request #735 from PierreKircher/master
deploy plugin for "DEIS PAAS"
2014-12-01 01:48:11 -08:00
Pierre Kircher
fdd4547b1c plugin skeleton for deis
fixed test cases
2014-11-27 23:40:47 +00:00
Brad Rydzewski
67fcbaeb2d Merge pull request #729 from lowstz/patch-1
Update drone.toml
2014-11-23 19:46:40 -08:00
Lowstz Chen
d31b41626d Update drone.toml
Run droned throw this error message: `Unable to parse config: no such flag -session-duration`
2014-11-24 11:41:12 +08:00
Brad Rydzewski
61282888e1 improve permission logic 2014-11-21 22:41:32 -08:00
Vsevolod Strukchinsky
78b8b7dd75 Add hostname in docker section of .drone.yml 2014-11-20 15:18:12 +05:00
Brad Rydzewski
7e2b03e20f Merge pull request #666 from compressed/gogs
Add gogs support
2014-11-18 21:42:30 -08: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
03c09ae298 Merge pull request #711 from bradrydzewski/master
instructs Drone to ignore cert verification if self-signed
2014-11-17 18:46:07 -08:00
Nils Werner
dceb83564b Slightly more useful homepage
With more active repos and a more sensible view
of inactive repos
2014-11-17 23:04:58 +01:00
Brad Rydzewski
49a9c33dc9 Merge pull request #705 from bradrydzewski/master
ability to handle options requests
2014-11-17 13:44:28 -08:00