We’ll use terraspace new ci to generate a starter CI folder structure.
terraspace new ci
Here’s an example with output
$ terraspace new ci create .circleci/bin/install create .circleci/config.yml
.circleci/config.yml was created with a supporting
.circleci/bin folder. The generated example creates a few starter workflows.
There are 3 different workflows.
- Main Push Workflow: Runs when you push a new commit to a
- Branch Push Workflow: Runs when you push to any other branch aside from
- Manual Workflow: Runs manually via the Web Console or API.
Next, we’ll review these files and their workflows.