Skip to content
GoCD setup demonstrating usage of preflight API
Branch: master
Clone or download
Latest commit 462a1a2 May 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore minimal tasks to setup gocd May 1, 2019
Dojofile lock the plugin version to 0.10.1 May 2, 2019
README.md minor readme fix May 3, 2019
docker-compose.yml minimal tasks to setup gocd May 1, 2019
pipeline.gocd.yaml added minimal pipeline May 2, 2019
tasks

README.md

GoCD preflight API demo

Supporting code for blog post at https://kudulab.io/posts/gocd-preflight-validation/

Setup

This setup is using Dojo with docker-compose driver. The gocd-cli is provided by gocd-cli-dojo docker image and GoCD server is the official image.

Assuming you already have a working docker, you can install dojo with:

DOJO_VERSION=0.5.0
wget -O dojo https://github.com/ai-traders/dojo/releases/download/${DOJO_VERSION}/dojo_linux_amd64
sudo mv dojo /usr/local/bin
sudo chmod +x /usr/local/bin/dojo

Then to setup GoCD server and linked docker container with gocd-cli run the following command at the root of the project:

./tasks setup_gocd
You can’t perform that action at this time.