Commit graph

12 commits

Author SHA1 Message Date
Daniel Malon
447cf710af Add configurable assets folder
This adds a server-assets-folder configuration which allows overriding the assets bundled to the binary.
2015-02-26 22:22:16 +00:00
Kirill Zaitsev
f47ab27702 Gitlab oauth login 2015-01-23 22:28:24 +03:00
Matt Bostock
307aed12bc Move open registration setting into remote plugins
...so that it's possible to enable or disable open registration on a
per-remote basis.

For example, the `DRONE_REGISTRATION_OPEN` environment variable now
becomes `DRONE_GITHUB_OPEN` when using GitHub as a remote.

The default for open registration in this commit is `false` (disabled),
which matches the existing behaviour.

This is useful if you need to support both public and private remotes,
e.g. GitHub.com and GitHub Enterprise, where you trust all of the
private users and want to allow open registration for those but would
not want all GitHub.com users to run builds on your server.

Tested with GitHub and GitLab.
2015-01-16 22:04:24 +00:00
Dan Carley
8fa473b07a Support org whitelists for GitHub+GHE remotes
Allow the GitHub and GitHub Enterprise remotes to restrict who can login
based on a user's organisation membership. This can be used as a safe
addition to open registration and also ensures that access is revoked when a
user is subsequently removed from the org. The default is not to restrict at
all.
2015-01-15 17:05:53 +00:00
Dave Tucker
9f2849d5ad Add Gogs to the TOML config file
While updating an Ansible module I noticed that while Gogs is supported,
it doesn't appear, commented out, in the TOML file. This commit adds it

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-01-12 02:20:18 +00:00
Brad Rydzewski
01ca940add Merge pull request #732 from msteinert/gitlab-verify-skip
Add Gitlab certificate verification configuration
2014-12-14 23:21:11 -08:00
Kirill Zaitsev
12baa7a81a Fix docker TLS, update readme and config file 2014-12-10 18:39:46 +03:00
Michael Steinert
d1099bcf53 Add Gitlab certificate verification configuration
Requires Bugagazavr/go-gitlab-client@4e00e40109
2014-12-09 10:16:59 -06:00
Lowstz Chen
d31b41626d Update drone.toml
Run droned throw this error message: `Unable to parse config: no such flag -session-duration`
2014-11-24 11:41:12 +08:00
Kirill Zaitsev
000387d10b Added support for sysV systems, like debian 7 2014-11-02 16:36:53 +03:00
Brad Rydzewski
3cd1631c05 updated README 2014-10-22 23:23:05 -07:00
Kirill Zaitsev
b64cd83424 Build rpm and deb packages 2014-10-12 23:51:51 +04:00