taion809 / gatekeeper

Golang based server for serving servers with served services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gatekeeper

Gatekeeper was born out of a need for a tiny service to authenticate web based deployment requests from services like circle-ci and tavis-ci.

I built it for myself, but I hope you find it useful as well.

Security

What security? This currently uses simple querystring auth_key over ssl (if configured)... use at own peril.

Usage

Gatekeeper is intended to be used behind another web server like nginx which can proxy pass to 127.0.0.1:8000

Usage: 
  gatekeeper [command]

Available Commands: 
  serve                     Startup the build server with your favorite protocol.
  help [command]            Help about any command

 Available Flags:
      --config="config.toml": config file (default is path/config.toml)
      --help=false: help for gatekeeper

Example

This is an example configuration file for gatekeeper.. pretty simple.

# Example configuration for gatekeeper
[server]
bind_address = "127.0.0.1"
port = 8000
build_uri = "/build"
protocol = "http"

[applications]
    [applications.one]
        name = "Test Application 1"
        root = "/opt/gatekeeper/workspace/app1"
        api_key = "woooapikeeeeeey"
        build_steps = [
            "fab deploy"
        ]

Roadmap (todo?)

I would like to clean this up a bit, it was a weekend project to scratch an itch. If more people like this I will make great efforts in improving it.

License

Gatekeeper is licensed under the new bsd license, see LICENSE.md.

About

Golang based server for serving servers with served services.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%