Skip to content

Commit

Permalink
Adding README to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwanthkumar committed Mar 13, 2016
1 parent 033fd51 commit db8d023
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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
- [x] Set environment variables
- [x] Run commands for your build
- [ ] Upload artifacts to GoCD after the build

## .gocd-ci.yml
```yml
---
name: "GoCD CI"
env:
FOO: "BAR"
cmd:
- 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](https://docs.travis-ci.com/user/customizing-the-build/#Customizing-the-Build-Step) 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.

0 comments on commit db8d023

Please sign in to comment.