Markus Schölzel
fe593eedd1
upgrade alpine base images to latest version
2018-02-01 22:15:50 +01:00
Brad Rydzewski
e60b76921f
Merge pull request #2327 from jbrockopp/build_kill
...
allow repo admin to kill build
2018-02-01 12:35:11 -08:00
Jordan Brockopp
af08c76b6a
allow repo admin to kill build
2018-02-01 14:07:45 -06:00
Jordan Brockopp
a844ed53e9
allow repo admin to update build counter
2018-02-01 13:10:00 -06:00
Tony Li
84954e2d20
fix verbage
2018-01-30 13:30:06 -05:00
Tony Li
0a6666b4bf
update server-agent usage
2018-01-30 13:28:17 -05:00
Tony Li
22522bfe44
update server usages
2018-01-30 13:28:07 -05:00
Tony Li
625ef44f55
make same
2018-01-29 19:21:46 -05:00
Tony Li
73914fdbd5
update server cli usage
2018-01-29 19:21:32 -05:00
Tony Li
e1a695bd04
update agent cli usage
2018-01-29 19:00:14 -05:00
Michael de Wit
e4a77e5346
Fix Gitea remote pull-request webhook parsing
2018-01-29 13:20:02 +01:00
Jacob McCann
8295166ca4
Update usage for keepalive-min-time
2018-01-24 08:41:11 -06:00
Александр Ангин
b892f566e5
fix missing semicolon in Postgres script's files
2018-01-22 10:40:11 +03: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
Jacob McCann
6eb9af01c6
Allow setting MinTime for keepalive enforcement on server
...
This allows setting agent keepalive Time at value < 5m
2018-01-08 14:46:44 -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