Commit graph

1107 commits

Author SHA1 Message Date
Brad Rydzewski
f209d126db fixed govet issue 2015-01-13 23:32:25 -08:00
Brad Rydzewski
27640db7a3 fixed dep in docker_test.go 2015-01-13 23:24:23 -08:00
Brad Rydzewski
97d80a43b7 fixed dep issue 2015-01-13 23:18:31 -08:00
Brad Rydzewski
ff127f0349 webhook payload should include the host URL 2015-01-13 21:57:30 -08:00
Brad Rydzewski
d0b722cc8b Insert and Update Users instead of generic Save function. Check ID != 0 2015-01-13 21:57:02 -08:00
Brad Rydzewski
881dcb153e Merge remote-tracking branch 'upstream/master' 2015-01-13 21:55:29 -08:00
Brad Rydzewski
83d1d6ada9 Merge pull request #781 from bradrydzewski/master
Change SSH Key Pair (issue #61)
2015-01-13 21:55:02 -08:00
Brad Rydzewski
1627d5f5da Merge pull request #802 from Bugagazavr/bintray
Bintray
2015-01-13 09:10:50 -08:00
Kirill Zaitsev
ef3fba75a9 Version from file 2015-01-12 20:00:36 +03:00
Brad Rydzewski
aed6f17db6 Merge pull request #803 from andy-g/fix_commit_grouping_by_branch
Fixing an issue with branch grouping due to substring matching
2015-01-12 08:10:42 -08:00
Brad Rydzewski
4f3f7d03fe Merge pull request #801 from alphagov/fix-typo
Clarify 'sync running' message
2015-01-12 07:59:39 -08:00
Andy Gardner
fc014768f1 Fixing an issue with branch grouping due to substring matching 2015-01-12 16:09:55 +02:00
Matt Bostock
6534bc79b4 Clarify 'sync running' message
Improve the grammar of the 'sync already runned' message to 'sync
already in progress', which should clarify what is happening when this
message is displayed.
2015-01-12 14:02:48 +00:00
Kirill Zaitsev
ce5d4edca5 Bintray plugin 2015-01-12 16:50:59 +03:00
Brad Rydzewski
68e6d530fb Merge pull request #800 from dave-tucker/toml_gogs
Add Gogs to the config file and Readme
2015-01-11 18:30:26 -08:00
Dave Tucker
9f2849d5ad Add Gogs to the TOML config file
While updating an Ansible module I noticed that while Gogs is supported,
it doesn't appear, commented out, in the TOML file. This commit adds it

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-01-12 02:20:18 +00:00
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
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