Paddle
Paddle is a command line tool for canoe data archival and processing.
Setup for local development
Make sure you have Go installed on your machine and that you checkout the repo to
the right folder. By default should be:
mkdir -p ~/go/src/github.com/deliveroo
cd ~/go/src/github.com/deliveroo
git clone git@github.com:deliveroo/paddle.git
cd paddle
Install dependencies:
brew install glide
glide up -v
You will need create a $HOME/.paddle.yaml
that contains the bucket name, e.g:
> cat $HOME/.paddle.yaml
bucket: roo-bucket
or if you prefer specify BUCKET
as an environment variable
You will also need to create a $HOME/.aws/config
or $HOME/.aws/credentials
so Paddle can connect to AWS, e.g.:
> cat $HOME/.aws/credentials
[default]
aws_access_key_id=xxx
aws_secret_access_key=yyy
region=eu-west-1
$ go build
Release
In order to release a new version, set up github export GITHUB_TOKEN=[YOUR_TOKEN] and do the following steps:
$ git tag -a vX.X.X -m "[Comment]"
$ git push origin vX.X.X
$ goreleaser
Usage
$ paddle help