Commit graph

108 commits

Author SHA1 Message Date
Brad Rydzewski
b0547a081e Merge pull request #1226 from hkjn/patch-3
Update comments in shared.build.Builder
2015-10-22 17:49:43 -07:00
Brad Rydzewski
6890927415 Merge pull request #1227 from hkjn/patch-4
Add comment to shared.build.repo.Repo type
2015-10-22 17:49:27 -07:00
Tanguy Herrmann
4aee17e264 Modify to comply to the RFC7239
* Changed the previous code based on X- headers to the RFC7239
* Refactored the code to determine if a request is https or not
2015-10-21 02:38:47 +02:00
Henrik Jonsson
dcd2f01872 Add comment to shared.build.repo.Repo type 2015-10-08 10:11:01 +02:00
Henrik Jonsson
a9366b7720 Update comments in shared.build.Builder
They were previously referring to fields with different names. New comments are taken from the type declaration of `shared.build.script.Build` and what seems appropriate for `shared.build.repo.Repo` (sending separate PR).
2015-10-08 10:08:18 +02:00
Alex Robson
a561896af1 Change docker version to v1.12 from invalid v1.9 2015-07-19 23:56:21 -05:00
Ke Zhu
0ef85cbabc trusts builds from private repo and non-PR 2015-07-16 11:00:40 -04:00
Ke Zhu
cf578b31cc move privileged to yaml file 2015-07-14 16:40:31 -04:00
Brad Rydzewski
fc0d37f881 added tty flag 2015-07-02 15:10:34 -07:00
Brad Rydzewski
20693cd38d Enable pseudo tty setting 2015-07-02 14:50:17 -07:00
Kohei Suzuki
28eb92be9e Correct VolumesFrom definition
Fixes #1068 .
2015-06-20 21:34:46 +09:00
Kevin Shen
e087f820c2 shared/build/images.go: add go1.4 tag 2015-06-08 11:43:21 -07:00
Brad Rydzewski
64a0658fbd Merge pull request #1010 from masarakki/image-with-hostname
enable to specify image with hostname
2015-05-31 13:04:27 -07:00
Brad Rydzewski
bc8a602d89 Merge pull request #974 from 907th/fix_jsonmessage_dependency
Fix dependency: github.com/docker/docker/utils was moved to pkg/jsonmessage
2015-05-31 13:02:14 -07:00
masarakki
608377e17c enable to specify image with hostname 2015-05-16 14:51:11 +09:00
Alexey Chernenkov
9bc3a25a5e Fix dependency: github.com/docker/docker/utils was moved to pkg/jsonmessage 2015-04-14 11:54:41 +05:00
Brad Rydzewski
e01c7242d8 Merge pull request #951 from kirillseva/patch-1
Fix small typo in comments
2015-04-09 20:50:52 -07:00
Kirill Sevastyanenko
b3f6552498 s/Exepected/Expected 2015-04-06 11:15:06 -05:00
Kirill Sevastyanenko
d329615b89 Fix small typo in comments 2015-04-06 11:10:40 -05:00
Brad Rydzewski
aa3eeda9b8 Merge pull request #932 from jvortmann/check_presence_socat_anywhere_in_path_using_command_v
Use 'comand -v' to check presence of socat anywhere in path #869.
2015-03-22 10:26:43 -07:00
Joao Vortmann
0e3b499996 Use command -v to check socat anywhere in path #869. 2015-03-22 10:11:03 -03:00
Nathan Williams
9eb82d6ceb use same cached volumes between branches 2015-03-11 12:21:08 -07:00
masarakki
70e24d7c6c always update docker image when :latest tag 2015-03-07 10:25:29 +09:00
Brad Rydzewski
cd1fed3d53 backing out change to perl script proxy 2015-02-20 17:41:32 -08:00
Brad Rydzewski
ba5db98d44 Merge pull request #870 from bradrydzewski/master
embedded socat polyfill for #869
2015-02-20 17:37:25 -08:00
Vsevolod Strukchinsky
803bcbfec2 Remove LANG and LANGUAGE from environment
Closes #119
2015-02-18 12:36:29 +05:00
Brad Rydzewski
90d9c7d301 perl tcp proxy tests 2015-02-06 23:29:50 -08:00
Brad Rydzewski
26fd14a8cc added embedded proxy 2015-02-06 22:38:08 -08:00
Brad Rydzewski
452beba83d Update user.go
fix migration database issue using zeroisnull
2015-02-05 11:18:06 -08:00
Brad Rydzewski
64aeeff3ae Merge pull request #856 from Bugagazavr/gitlab-ouath
Refresh only expired tokens
2015-02-04 22:11:14 -08:00
Kirill Zaitsev
6ca94970d6 Refresh only expired tokens 2015-02-04 13:18:46 +03:00
Kirill Zaitsev
ec825996c9 Added last build time 2015-02-01 04:26:10 +03:00
epipho
717bef75dd Adding test for get build number. Moved build number env build injection 2015-01-28 23:39:09 -05:00
epipho
5f8b026d14 All builds now have a per-repository monotonically increasing build number accessible via DRONE_BUILD_NUMBER
and CI_BUILD_NUMBER env variables.
2015-01-28 21:13:22 -05:00
Kirill Zaitsev
d225181a0f Refresh tokens before any requests to remote 2015-01-27 02:33:27 +03:00
Brad Rydzewski
f209d126db fixed govet issue 2015-01-13 23:32:25 -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
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
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
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
2059c6f4e6 Fix Docker Client FileDescriptor Leak 2014-12-19 01:58:17 +09: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
Kirill Zaitsev
6609d09e91 Move env variables outsude docker build #PR2 2014-12-12 12:01:12 +03:00
Kirill Zaitsev
6b586c62da Move id_rsa outside docker build #PR1 2014-12-12 01:42:38 +03:00
Ke Zhu
c6bc20dca7 parse build file with params injection 2014-12-07 11:26:43 -05:00
Vsevolod Strukchinsky
78b8b7dd75 Add hostname in docker section of .drone.yml 2014-11-20 15:18:12 +05:00
Christopher Brickley
270ce52b76 add gogs support 2014-11-18 21:50:05 -05:00
Brad Rydzewski
65fbfed035 reverse sorting private params when injecting 2014-11-11 09:26:15 -08:00