Stoplight_GO is a build monitoring tool that is largely based off stoplight, and is written in Go to make deployments easier.
Stoplight_GO has:
- built-in support for GoCD
- built-in support for Jenkins
- built-in support for any tool that provides a
cc.xml
Stoplight_GO is designed to be displayed on large television screens or monitors. It automatically resizes to fill the maximum real estate the screen can offer.
The main design goals was simplicity of deployment. Feature parity with the original Stoplight was not a goal. Stoplight_GO supports ONE server only at the moment.
- Create a
config.yml
file. Minimal Example:
server:
url: http://localhost:8080/cc.xml
Open config.example.yml to see all available options.
- Start a CI server that provides a
cc.xml
endpoint You can start a test server by running this command in a new terminal:
go run testserver/main.go
- Download the binary from https://github.com/ctrabold/stoplight_go/releases
- Make binary executable:
chmod +x stoplight_go_*
- Make sure you've created a
config.yml
file (see above) - Start the binary
You can use ENV variables to override the bind address and port:
STOPLIGHT_HOST=127.0.0.1 STOPLIGHT_PORT=3000 ./stoplight
Default:
STOPLIGHT_HOST=0.0.0.0 STOPLIGHT_PORT=1323 ./stoplight
- Open a browser
- Point the browser to the URL http://locahost:1323 or the address you've defined
- Build the binary
go build stoplight.go
- Start the binary
./stoplight
- Open the URL in the browser http://0.0.0.0:1323
For SSL support read https://echo.labstack.com/cookbook/auto-tls
This is untested territory.
See docs
Execute this command:
env GOOS=target-OS GOARCH=target-architecture go build .
Github will automatically push new releases to https://github.com/ctrabold/stoplight_go/releases
- Only one CI server is supported for now
- JavaScript and CSS assets are pre-compiled
- Tests are incomplete
- Fork it (https://github.com/ctrabold/stoplight_go/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Run tests:
go test
- Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
This project adheres to Semantic Versioning and we follow Conventional Commits.
- Christian Trabold - creator and maintainer
- Paul Yeoh
- GreenScreen was original developed by martinjandrews.
- The former version of GreenScreen was a fork of the updates made by rsutphin.
- The version of Stoplight was written by sethvargo