githubEdit

Versioning

Overview

Brainboard provides a native versioning mechanism that allows you to keep track of your changes and rollback/restore any specific point-in-time version.

This article lists the information that is saved for each version in Brainboard, in addition to steps for creating a new version, viewing already saved versions and restoring an existing version.


Components of a version

When you create a version, Brainboard saves the following information:

βœ… The architecture design.

βœ… The version of the cloud provider selected to create the architecture.

βœ… Variables.

βœ… Output.

βœ… The README file.

βœ… The structure of the Terraform files.

βœ… Timestamp in UTC when the version is created.

βœ…The person who created the version.

βœ… The commit message.

circle-info

The Terraform code is automatically generated, and it is not saved as code.


How to create a version?

To create a version of your architecture, you can follow these steps:

  1. Click on the version history icon in the top navigation bar. The Version history will open in the right pane.

  2. Click the New version button on the Version history pane.

  1. On the Create new version popup modal, you can enter the description of the version and click Create to save.

circle-info

The version description could be the same commit message you would write when performing a pull request. You can write multiline text if you want to provide more details.

  1. When a version is created and saved, it's listed on the Version history pane on the right side.

circle-check

View available versions

If you want to view the list of available versions of your architecture design, click on the version history icon in the top navigation bar. The Version history pane will expand on the right side of the screen.

circle-info

The versions are listed in order of latest/newest to oldest.


How to restore a version?

To restore any version, click on the version history icon in the top navigation bar. On the Version history pane on the right side, click on the version you want to restore. The clicked version will be restored, and the following success message will be displayed at the bottom of the Version history pane.

Architecture version restored successfully.

circle-exclamation

Push to git

Please refer to the Pull requests page for detailed information on how to do pull requests and save the generated code into git.

Last updated