Commit graph

3108 commits

Author SHA1 Message Date
Brad Rydzewski
578762dc9c Merge pull request #2219 from bradrydzewski/master
graceful shutdown on SIGTERM
2017-09-14 18:46:32 -07:00
Brad Rydzewski
8c7d48ebed graceful shutdown on SIGTERM 2017-09-14 18:42:00 -07:00
Brad Rydzewski
a7e730ecf6 Merge pull request #2218 from msuterski/tag_base
Use 'base_ref' as branch name for github tag events.
2017-09-14 17:23:21 -07:00
marcin.suterski
96af18993a
Use 'base_ref' as branch name for github tag events.
This chnage adds ability to filter builds by the source branch name for tag
events from Github.
2017-09-14 20:16:58 -04:00
Brad Rydzewski
45357681a6 do not restart errored build 2017-09-14 15:33:12 -07:00
Brad Rydzewski
63ba6af242 fix nil perm issue 2017-09-14 15:20:20 -07:00
Brad Rydzewski
2f2144c4bd Merge remote-tracking branch 'origin/master' 2017-09-14 09:40:12 -07:00
Brad Rydzewski
63001a7c66 expose agent name to pipeline 2017-09-14 09:39:52 -07:00
Brad Rydzewski
bf454572f2 Merge pull request #2215 from bradrydzewski/master
add gitlab v3 option for backward compat
2017-09-14 07:57:53 -07:00
Brad Rydzewski
913d8701f2 add gitlab v3 option for backward compat 2017-09-14 07:50:07 -07:00
Brad Rydzewski
d9cb6ff866 Merge pull request #2210 from praxist/default_drone_yml
Add server env var to specify .drone.yml location
2017-09-13 08:13:58 -07:00
Matt Leung
820d07263b Add server env var to specify .drone.yml location
Allow setting DRONE_REPO_CONFIG to override default location of .drone.yml
2017-09-12 17:06:12 -07:00
Brad Rydzewski
538f256834 Merge remote-tracking branch 'origin/master' 2017-09-12 13:58:22 -07:00
Brad Rydzewski
d03eaaafa9 fix busted agent dockerfile 2017-09-12 13:58:06 -07:00
Brad Rydzewski
f5fc076bc1 Merge pull request #2209 from bradrydzewski/master
Provide a basic agent healthcheck
2017-09-12 13:45:58 -07:00
Brad Rydzewski
42b60bd822 more advanced health check logic 2017-09-12 13:40:24 -07:00
Brad Rydzewski
eca91f4ec7 provide a basic agent healthcheck 2017-09-12 11:25:55 -07:00
Brad Rydzewski
c665e5b1d2 Merge remote-tracking branch 'origin/master' 2017-09-12 09:44:50 -07:00
Brad Rydzewski
b034068ec4 bump version to rc.5 2017-09-12 09:44:20 -07:00
Brad Rydzewski
25684f090d Merge pull request #2208 from bradrydzewski/master
reduce logfile upload limit
2017-09-12 09:21:06 -07:00
Brad Rydzewski
8795cf039f reduce logfile upload limit 2017-09-12 09:03:32 -07:00
Brad Rydzewski
1e64f61009 update base image to drone/ca-certs 2017-09-11 16:03:11 -07:00
Brad Rydzewski
0c379ac8ad bump version to rc.4 [ci skip] 2017-09-11 15:53:57 -07:00
Brad Rydzewski
d91bf93a3a bump version to rc.4 2017-09-11 15:53:09 -07:00
Brad Rydzewski
20158d670d Merge remote-tracking branch 'origin/master' 2017-09-11 10:24:04 -07:00
Brad Rydzewski
25c9b8050a introduce limiter for planned refactoring 2017-09-11 10:22:45 -07:00
Brad Rydzewski
2ec6d6210b Merge pull request #2204 from bradrydzewski/master
always create new build on restart
2017-09-10 17:52:52 -07:00
Brad Rydzewski
902523911e remove unused websocket funcs 2017-09-10 17:48:12 -07:00
Brad Rydzewski
c95d2bf9f0 restart build will always fork; update sqlite 2017-09-10 17:45:42 -07:00
Brad Rydzewski
6cdf907c73 Merge pull request #2200 from praxist/build_filter_expression_parser
Add expression parser evaulator for build filter
2017-09-10 14:39:15 -07:00
Matt Leung
4c2ff78d20 Add expression parser evaulator for build filter
Vendor github.com/drone/expr
Vendor github.com/drone/expr/parse
2017-09-08 19:39:24 -07:00
Brad Rydzewski
fcb493b9ee Merge pull request #2161 from vanadium23/move-gitlab-to-api-v4
Update gitlab API to version v4 #2068
2017-09-08 17:50:59 -07:00
Brad Rydzewski
b2dc32d5bb Merge pull request #2192 from tonglil/fix-typo [ci skip]
Fix typo
2017-09-08 17:49:14 -07:00
Brad Rydzewski
35ffb27066 Merge pull request #2199 from praxist/repo_label_to_task [ci skip]
Add repo to task labels for build filtering
2017-09-08 17:48:50 -07:00
Matt Leung
2892efedda Add repo to task labels for build filtering
Add generated labels after user-defined labels to prevent tampering
2017-09-08 16:46:28 -07:00
Brad Rydzewski
fcda423f11 Merge pull request #2198 from praxist/drone_filter_to_agent
Let agent pass filter expression string for builds
2017-09-08 15:23:13 -07:00
Matt Leung
b79dae403e Let agent pass filter expression string for builds
Drone agent accepts DRONE_FILTER env var
2017-09-08 14:27:27 -07:00
Brad Rydzewski
eb1dc3a3a8 Merge pull request #2197 from bradrydzewski/master
Improve UI loader
2017-09-07 17:46:43 -07:00
Brad Rydzewski
49ea713a36 improve UI loader 2017-09-07 17:43:33 -07:00
Ivan Chernov
6074a0164e Update gitlab API to version v4 2017-09-07 21:05:26 +03:00
Brad Rydzewski
3de3662d29 Update issue_template.md [ci skip] 2017-09-06 15:21:15 -07:00
Tony Li
81fe4b6520 fix typo 2017-09-05 17:09:12 -04:00
Brad Rydzewski
7826888729 update listing 2017-08-26 15:59:57 -07:00
Brad Rydzewski
cf549e47c3 repo repair should update private status 2017-08-26 15:52:57 -07:00
Brad Rydzewski
47c1caa7cd Merge pull request #2168 from josmo/rename-repo
Adding the ability to update the repo owner and name via patch with t…
2017-08-26 13:14:03 -07:00
Brad Rydzewski
2ca5df8266 Merge pull request #2176 from bradrydzewski/master
add new route to get proc logs by pid
2017-08-24 17:26:46 -07:00
Brad Rydzewski
7d245e7b27 fix route for proc logs 2017-08-24 17:03:11 -07:00
Brad Rydzewski
e11dd116a2 Merge pull request #2155 from frebib/fix-repo-user
Fix extractRepositoryName() in agent logs
2017-08-23 15:44:10 -07:00
Brad Rydzewski
f43e1e6c33 Merge pull request #2174 from bradrydzewski/master
send SSE comments to keep connection alive
2017-08-22 09:01:28 -07:00
Brad Rydzewski
23a348b4f7 periodically ping client from server 2017-08-22 08:49:44 -07:00