Using Replicated CLI with Travis CI to Automate Releases

End-to-end example

An example that uses Travis for CI can be found in the Replicated CI Demo project.

Step-by-step guide

  1. Create a new github repository
  2. Get your latest App release YAML from https://vendor.replicated.com and add it in a file replicated.yml in the repository
  3. Create .travis.yml, an example can be found in the Replicated CI Demo project.
  4. Find your github repo at https://travis-ci.org/profile and enable it
  5. Get your App ID and API Token.
  6. Configure environments variables REPLICATED_APP and REPLICATED_API_TOKEN in Travis CI using More OptionsSettingsEnvironment Variables.
  7. Push to your github repository, verify releases are created and promoted on https://vendor.replicated.com.