README
travis-rancher-deployer
A project to automate deployments to a Rancher 1.6 private cloud via TravisCI
Usage
To use this project, you should install it as part of your build process. For example under yarn: yarn global add @base-cms/travis-rancher-deployer.
You can then use the deploy-to-rancher command from the CLI. The command expects the following arguments:
- image: The docker image to deploy, e.g;
base-cms/parcel-plug:v1 - service: The Rancher service label value to target.
# travis.yml
deploy:
-
provider: script
script: cd scripts/deploy.sh
on:
tags: true
condition: "$TRAVIS_TAG =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+