Version Control (Utility Page)
The Version Control module adds a utility page for submitting a snapshot to version control.
Dependencies
The Version Control module is dependent on the following modules:
Connected Version Control Configurations
This section displays information about the version control configurations in Orbita Utilities that the utility page is set to connect to, as well as a note on which branch the utility page will commit to. For each connected tier it displays:
Environment: The name of the environment (as pulled from Orbita Utilities).
Orbita Project Name: The name of the project in Orbita.
Orbita Project ID: The ID of the Orbita project.
Please make sure this information is correct for the project you are currently working on.
Commit Changes
The Commit Changes tab provides an interface for committing changes from the current project into the configured commit branch.
Commit Details
This section is for entering the necessary information for the Git commit:
Author: Populated automatically with the details for the logged in user.
Jira Ticket: The Jira ticket identifier.
Commit Message: A useful and descriptive commit message about what work was done as part of this commit.
Review Changes
The Review Changes button initiates a process in which Orbita Utilities pulls and deconstructs the current project source and compares it to the last commit for the relevant branch. A diff is then returned which is displayed to the user:
Commit Changes
Commit details must be filled out, changes must be reviewed and there must actually be changes to commit before this button will become active.
When active and clicked it will trigger a process in Orbita Utilities to pull and deconstruct the project source and commit it to the appropriate branch in the repository.
Deploy
The Deploy tab provides an interface with several options for deploying out committed code.
Deploy from Dev to Stage
This option will deploy the latest commit from the development branch to the connected stage project.
This option will only display if both a development and stage configuration are connected.
Deploy from Mainline to Production
This option will deploy the latest merged commit from the mainline to the connected production project.
This option will only display if a production configuration is connected.
Revert Production
This option will find the last pre-deployment snapshot in the production branch and deploy it to the configured production project to revert.