View on GitHub

GoCD Workshop Setup

Setting up a GoCD server and agents for a workshop

GoCD Workshop Setup

This instructions will set up a GoCD server and 3 GoCD agents to be used for the GoCD Workshop. There are two options below, Digital Ocean in the cloud or Virtualbox on your local machine. Either option requires Vagrant, Git, and SSH.

Instructions

Important notes

Required setup for either option

This uses a 2GB Digital Ocean Droplet. At the time of this writing, the cost of this droplet size is $20 a month / $0.030 per hour. Despite being more setup, this option is much faster. The actual installation is happening on the public cloud instead of downloading to your machine.

Set Up SSH keys

This will allow Vagrant to provision the new machine, as well as allow you to connect to it more easily.

Set Up API Token

This will allow Vagrant to create machines on your behalf.

Start the machine

Option 2: Using Virtualbox for local installation

This method will install set up a virtual machine on your computer with a GoCD server and agents.

Pro:

Con:

Requires Vagrant and Virtualbox

  1. Clone this repository
  2. Rename Vagrantfile.virtualbox to Vagrantfile
  3. Run ‘vagrant up’ (this will take a while, it builds most of the box)
  4. Go to http://localhost:8153/