End-to-end example
An example that uses Circle 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
circle.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 on the CircleCI projects page and enable it as a Circle v1.0 Project.
- Get your App ID and API Token.
- Configure environments variables
REPLICATED_APP
andREPLICATED_API_TOKEN
in CircleCI usingProject Settings
→Environment Variables
. - Push to your github repository, verify releases are created and promoted on https://vendor.replicated.com.