Skip to content

GoCD-CI helps you build your projects using a .gocd-ci.yml file.

Notifications You must be signed in to change notification settings

emiglobetrotting/gocd-ci

 
 

Repository files navigation

Build Status

gocd-ci

GoCD-CI helps you build your projects using a .gocd-ci.yml file. You just have to download the binary and run it from the project's root.

Features

  • Set environment variables
  • Run commands for your build
  • Upload artifacts to GoCD after the build

.gocd-ci.yml

---
  name: "GoCD CI"
  env:
    FOO: "BAR"
  cmd:
    - make setup
    - make test
    - make build
  artifacts:
   gocd-ci : .
  • name - Human readable name for the project. Currently not being used.
  • env - Map of Environment variables required for the application. You'll get GO_* variables for free. If none, it can be ignored from the yml file.
  • cmd - List of commands to run as part of the build. Like travis-ci we run all the commands even if one of them fail. Though the final exit code will be 1 if any command failed.
  • artifacts - Map of artifacts to be exposed on the pipeline via GoCD. If none, it can be ignored from the yml file.

About

GoCD-CI helps you build your projects using a .gocd-ci.yml file.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.5%
  • Makefile 13.5%