Mark Spicer
238e916fa0
Redirect HTTP to HTTPS when SSL is enabled.
...
In our current drone setup, we are not using a proxy, thus letting drone handle
SSL termination. In addition, we are not exposing port 80 (effectively disabling
insecure drone access). When new engineers join and attempt to access drone,
they are not sent a 301 and often complain that they either do not have access
or that drone is broken (when in reality they are just accessing drone via the
incorrect protocol/port).
This commit changes the default behavior when running drone with a server-cert
by only sending redirects on port 80 rather than allowing both secure and
insecure access.
2017-11-15 21:36:02 -05:00
Brad Rydzewski
0c972d8fc5
Create BUILDING [CI SKIP]
2017-10-21 10:29:14 -07:00
Brad Rydzewski
578e8847cf
Merge pull request #2241 from tboerger/fix-gitea
...
Urgent fix for changed auth behavior on Gitea
2017-10-13 07:59:47 -07:00
Thomas Boerger
517c003af2
Urgent fix for changed auth behavior on Gitea
...
Within the PR https://github.com/go-gitea/gitea/pull/2184 on Gitea the
project dropped the standard behavior to use x-auth-basic personal
access token. So we should use a proper username and the token from now
on to support Gitea >= 1.2.0. Since this driver anyway only supports
Gitea >= 1.2.0 this won't be a breaking change on Drone side, the only
breaking change is on side of Gitea!
2017-10-13 07:56:24 +02:00
Brad Rydzewski
c23b1fc9ac
Merge pull request #2234 from wyw/readme [ci skip]
...
Fix typo
2017-10-12 16:50:52 -07:00
Brad Rydzewski
f660da3b1d
Merge pull request #2240 from ptek/master
...
Fix gogs hookPullRequest actionSync typo
2017-10-12 16:50:00 -07:00
Pavlo Kerestey
96734122b9
Fix typo of gogs pull request synchronized action
2017-10-12 12:32:17 +02:00
Brad Rydzewski
b727a3ce55
Merge pull request #2239 from tboerger/fix-proc-start-date
...
Fix procs.proc_started value if not set
2017-10-06 13:31:32 -07:00
Thomas Boerger
5abfd70c53
Fix procs.proc_started value if not set
2017-10-06 22:17:48 +02:00
Brad Rydzewski
bb8c569249
add healthz endpoint to server
2017-10-05 14:17:27 -07:00
Brad Rydzewski
acb6a8b02a
bump to 0.8.2
2017-10-05 14:03:14 -07:00
Brad Rydzewski
3529dda2ba
enable dot(.) in usernames
2017-10-05 14:02:23 -07:00
Brad Rydzewski
8125f97c21
Merge pull request #2235 from bradrydzewski/master
...
prevent per-user concurrent sync
2017-09-29 11:30:48 -07:00
Brad Rydzewski
9a0a6f924e
prevent per-user concurrent sync
2017-09-29 11:21:06 -07:00
元炜
a930403031
Fix typo
2017-09-29 09:49:56 +08:00
Brad Rydzewski
4fb589d61f
Merge pull request #2232 from bradrydzewski/master
...
provide alpine-based images
2017-09-27 19:11:57 -07:00
Brad Rydzewski
ca8a00ecd5
remove deletion since we have --no-cache
2017-09-27 19:04:58 -07:00
Brad Rydzewski
243a2d0837
add alpine images
2017-09-27 19:01:52 -07:00
Brad Rydzewski
ec6016062b
show loading status in user interface
2017-09-20 12:29:57 -07:00
Brad Rydzewski
ae51e9d1b9
force downgrade to http/1.1 because safari
2017-09-19 15:30:31 -07:00
Brad Rydzewski
4532110141
include aws dep
2017-09-18 15:48:01 -07:00
Brad Rydzewski
1bdfa4bf38
Merge remote-tracking branch 'origin/master'
2017-09-15 09:04:37 -07:00
Brad Rydzewski
2c9d50ccc6
should use correct status for killed
2017-09-15 09:04:21 -07:00
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