Projects & Git

Branches and instances

How Git branches map to instances in the project console, how to create instances, and where to follow commits and deployments.

Branches become instances

In CICDoo, each instance of your project runs one Git branch. When you open a project, the console sidebar lists your instances grouped by stage:

  • Production
  • Staging
  • Development

Each entry is named after its branch. Click one to open that instance's console.

Creating an instance from a branch

Next to the Staging and Development headings in the sidebar there is a plus button (shown when you have permission to create instances). Clicking it opens the Create Instance modal:

  • Branch Name: the name of the new branch, for example feature-xyz.
  • Fork From: the base branch to create the new branch from, prefilled with the project's default branch (for example main or 18.0).
  • Stage: shows the stage you clicked (Staging or Development).

Click Create. CICDoo creates the branch and the instance, and it appears in the sidebar under its stage.

The instance console

At the top of an instance's console you see the branch name, a stage badge, the instance's domain and an Open Instance link, plus action buttons such as Restart and Merge (depending on your permissions). Below that, tabs give access to different areas, including:

  • Commits: a Recent Commits list for the instance's branch, with a Refresh button.
  • Queue: the list of jobs for this instance, with a Refresh button.
  • Other tabs such as Access, Logs, Monitoring, Backups (production and staging) and Settings, depending on stage and permissions.

Pushing code and deployments

When you push code to an instance's branch, CICDoo picks it up and deploys it. You can follow the resulting jobs in the console's Queue tab, and the new commits show up in the Commits tab. While work is in progress, a "Working on instance" banner appears at the top of the console and clears when the instance reports completion.

Related articles

If you get stuck, open a support ticket from the Tickets page or the chat widget.

Still stuck? Open a ticket from the app or talk to an engineer.