Forked from tomhillable/consul-rpm for my own personal use.
Set up the environment:
export BUILD_BOX=bento/centos-7.1
export AWS_ACCESS_KEY_ID=xxxx
export AWS_SECRET_ACCESS_KEY=yyyy
export AWS_REGION=us-east-1
export S3_PREFIX=s3://adammck/rpm/consul
Run the build (in a Vagrant box), and push RPMs to S3:
bin/build
bin/publish