Commit Graph
5 Commits
Author SHA1 Message Date
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
Brad Rydzewski 5431b8c84b added test for capabilities 2014-10-01 10:09:13 -07:00
Brad Rydzewski 37a5332951 fixed loop on custom map 2014-10-01 09:58:17 -07:00
Brad Rydzewski 21f9aec808 added new handlers and workers 2014-09-28 18:36:24 -07:00
Brad Rydzewski ed0024efa1 added blobstore and capability packages 2014-09-24 21:46:09 -07:00