Jordan Brockopp
af08c76b6a
allow repo admin to kill build
2018-02-01 14:07:45 -06:00
Brad Rydzewski
75150d4a42
Merge pull request #2309 from tonglil/patch-1
...
Log timestamp when puring log
2018-01-18 10:45:51 -08:00
Tony Li
2700a5eeaa
better format
2018-01-18 13:20:42 -05:00
Tony Li
e15e88584e
purge log w/ timestamp
2018-01-18 13:08:11 -05:00
Brad Rydzewski
1b0122df58
Merge pull request #2308 from bradrydzewski/master
...
endpoint to purge build logs, issue #1584
2018-01-18 09:46:06 -08:00
Brad Rydzewski
8771fb53af
purged log placeholder to include username
2018-01-18 09:30:41 -08:00
Brad Rydzewski
cd0524e77e
endpoint to purge build logs
2018-01-18 09:26:28 -08:00
Brad Rydzewski
923de1c4f2
Merge pull request #2307 from jhernandezb/fix/autocert
...
Fix autocert generation
2018-01-18 08:53:16 -08:00
jhernandezb
546e0bad00
Fix autocert generation
2018-01-18 10:33:41 -06:00
Brad Rydzewski
4db23fae05
Merge pull request #2301 from jhernandezb/feature/acme-http-01
...
migrate to http-01 challenge
2018-01-15 17:00:25 -08:00
Brad Rydzewski
afc71ec5a6
Merge pull request #2297 from jmccann/keepalive_fix
...
Add explicit default for DRONE_KEEPALIVE_TIMEOUT
2018-01-14 10:12:06 -08:00
jhernandezb
32e80eca20
lets encrypt: migrate to http-01 challenge
2018-01-12 22:54:49 -06:00
jhernandezb
5ba8cc3863
update acme dependency
2018-01-12 22:53:44 -06:00
Brad Rydzewski
3454e95f31
bump version number
2018-01-10 13:31:07 -08:00
Jacob McCann
36f99c9a3f
Add explicit default for DRONE_KEEPALIVE_TIMEOUT
2018-01-10 13:39:40 -06:00
Brad Rydzewski
fc22c5b39a
Merge pull request #2294 from jmccann/keepalive
...
Add keepalive to agents
2018-01-08 11:00:28 -08:00
Jacob McCann
164fd0ad3f
Update keepalive config to use DurationFlag
2018-01-08 12:47:08 -06:00
Jacob McCann
06fa27d937
Add keepalive to agents
2018-01-08 09:28:38 -06:00
Brad Rydzewski
e582c20812
Merge pull request #2287 from rumyantseva/master
...
Log the exact error in case of 'error setting commit status'
2017-12-20 08:41:30 -05:00
Brad Rydzewski
9293d1b74d
Merge pull request #2288 from jesselang/feature/drone-host-must-include-scheme
...
Fix DRONE_HOST check
2017-12-20 08:35:17 -05:00
Jesse Lang
b339532e0c
Fix DRONE_HOST check
2017-12-20 06:49:02 -06:00
Elena Grahovac
296a4f1977
Log the exact error in case of 'error setting commit status'
2017-12-20 12:12:38 +01:00
Brad Rydzewski
af273e8918
Merge pull request #2286 from jesselang/feature/drone-host-must-include-scheme
...
Validate DRONE_HOST to ensure it contains a scheme and not a trailing slash
2017-12-20 00:42:50 -05:00
Jesse Lang
453f415cc4
Validate DRONE_HOST to ensure it contains a scheme and not a trailing slash
2017-12-19 20:08:55 -06:00
Brad Rydzewski
1db7bde877
Merge pull request #2274 from appleboy/bugs
...
fix(drone-server): missing default branch name in metadata.
2017-12-06 13:43:20 -08:00
Brad Rydzewski
3daf6797ab
Merge pull request #2275 from bradrydzewski/master [ci skip]
...
bump minor version [ci skip]
2017-12-03 11:08:17 -08:00
Brad Rydzewski
8ff7cdc6ec
bump minor version
2017-12-03 11:08:11 -08:00
Brad Rydzewski
cf30898042
enable instance in when clause
2017-12-01 13:38:55 -08:00
Brad Rydzewski
970080e444
use a backoff when fetching the yaml
2017-12-01 09:22:30 -08:00
Bo-Yi Wu
b6a9645b31
fix(drone-server): missing default branch name in metadata.
2017-12-01 12:24:19 +08:00
Brad Rydzewski
6397395570
Use 5s backoff with 1m timeout fetching .drone.yml
2017-11-28 11:36:22 -08:00
Brad Rydzewski
956418cae9
add sysctls to yaml
2017-11-17 14:49:01 -08:00
Brad Rydzewski
b891e14eca
Merge pull request #2263 from lodge93/bugfix/redirect-http-to-https-when-ssl-is-enabled
...
Redirect HTTP to HTTPS when SSL is enabled.
2017-11-15 21:10:37 -08:00
Mark Spicer
8476c90bbf
Set the redirect handler for lets encrypt.
...
This commit sets the http handler to the redirect function for let's encrypt
enabled drone instances. In addition, the `Strict-Transport-Security` header is
added to the redirect given `header.Secure` will only be added for gin routes.
This commit resolves #2261 .
2017-11-15 23:27:57 -05:00
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
8eacbe382b
Merge pull request #2256 from appleboy/gitea-tag
...
fix missing commit sha and wrong tag link for Gitea.
2017-11-15 09:47:44 -08:00
Bo-Yi Wu
837ed7b84c
Add testing.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-04 23:19:01 +08:00
Bo-Yi Wu
2a2ff0550c
fix missing commit sha and wrong tag link.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-04 23:06:37 +08: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