Works together with concourse to manage pipeline manifests. This tool can be useful when having 1 pipeline that deploys to multiple environments.
DRY pipeline manifests: When a pipelines perform the same steps to deploy in multiple environments, manifests start getting large and repetitive. Travel-agent addresses this issue by turning the pipeline manifest into a dynamic template.
go get -d github.com/compozed/travel-agent/manifest
ln -s $GOPATH/src/github.com/compozed/travel-agent/bin/travel-agent $GOPATH/bin/.
./travel-agent target CONCOURSE_IP:PORT
cd PROJECT_NAME
travel-agent init
example travel-agent.yml
:
name: PIPELINE_NAME
git_project: https://github.com/ORG/PROJECT_NAME.git # Supports local/path/to/PROJECT_NAME
target: concourse-alias # Optional. Defaults to: concourse
envs:
- name: dev
- name: prod
depends_on:
- dev
Configuring pipeline deployment
travel-agent book path/to/travel-agent.yml settingy1.yml
- It will try to generate your manifest base on your
path/to/travel-agent.yml
config file - If
SPRUCE_SETTINGS_PATH
is provided, it tries to spruce merge with the newly generated manifest - It tries to deploy to concourse
See our CONTRIBUTING section for more information.
The gem is available as open source under the terms of the MIT License.