End-to-end example
An example that uses Travis for CI can be found in the Replicated CI Demo project.
Step-by-step guide
- Create a new github repository
- Get your latest App release YAML from https://vendor.replicated.com and add it in a file
replicated.yml
in the repository - Create
.travis.yml
, an example can be found in the Replicated CI Demo project.- On pull requests, run the
replicated.yml
through Replicated Lint - On merges to
master
, use the Replicated Vendor CLI to create and promote releases to yourUnstable
channel.
- On pull requests, run the
- Find your github repo at https://travis-ci.org/profile and enable it
- Get your App ID and API Token.
- Configure environments variables
REPLICATED_APP
andREPLICATED_API_TOKEN
in Travis CI usingMore Options
→Settings
→Environment Variables
. - Push to your github repository, verify releases are created and promoted on https://vendor.replicated.com.