Hwacha is a dockerized gocd server to evaluate gocd or run it in prodcution.
Go is a open source continuous Integration and Release Management system from thoughtworks. If you haven't used gocd before, head to their community documentation for a quick intro.
- Hwacha is based on docker so you'll need docker.
- Fig if you would like to use fig to bring the containers using fig.
Clone hwacha into your dev workspace or server:
git clone https://[email protected]/kunday/hwacha.git
You can now bring up go server and one agent using:
fig up
To increase the number of agents, run
fig scale agent=4
You should be able to access go server running at
http://localhost:8153/go
If you are running using a vm, use the ip address of that host.
The project is structured into 3 dockerized containers base(common packages for agent and server), server(the go server) and client(the go agent container).
Build the base container inside the base folder:
cd base && make
Build the go server container inside the server folder:
cd server && make
Build the go agent container inside the client folder:
cd client && make
You should now have 3 different containers when you run docker images
kunday/go-base:latest
kunday/go-server:latest
kunday/go-agent:latest
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request