gocd-contrib / gocd-golang-agent

GoLang agent for GoCD
Apache License 2.0
28 stars 15 forks source link

GoLang agent for GoCD

Join the chat at https://gitter.im/gocd/gocd-golang-agent

GOCD agent golang implementation. Comparing to java implementation, golang agent has less installation dependency, less memory footprint and shorter boostrap time. More suitable for running in container.

Golang agent is based on "BuildCommand API" proposed here. It's still working in progress. If you want to try out the golang agent, please build GoCD server from the latest master branch.

Features not supported yet

Installation

On Ubuntu:

# Add Bintray's GPG key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
# Add repo
sudo echo deb https://dl.bintray.com/alex-hal9000/gocd-golang-agent master main | sudo tee -a /etc/apt/sources.list
sudo apt-get update
# Install the package  (add '-y --force-yes' after 'install' if automating)
sudo apt-get install gocd-golang-agent

Configure Agent

Agent is designed to be configured by environment variables. The followings are available options:

Development

Check out source

Building the agent binary

Download

Pre-build binary can be found here : https://bintray.com/gocd-contrib

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/gocd-contrib/gocd-golang-agent.

Document for Developer