Deployment Step: Git MetaData

Updated 2 weeks ago by Copado Solutions

This article is part of the Deployment Steps.

The Git MetaData deployment step lets you deploy contents from a Git commit to an org using the Metadata API.

When this deployment step is executed, Copado retrieves the selected metadata from the Git repository and deploys it to the destination org. 

Step Options

  • If the Check Only option is enabled, changes will not be deployed, it will be a validation-only deployment.
  • Test Level deploy options:
    • No Test Run (no apex test are run unless it is a production deployment).
    • Run Specified Tests (only included apex test classes will run, aka fast deploy).
    • Run Local Tests (all apex test classes excluding managed packages are run).
    • Run All Tests In Org (all apex test classes including managed packages are run).
    For more information regarding test levels check out the article Apex Tests Run While Deploying.
  • Find and Replace in files allows you to find a specific text inside the metadata files using a regular expression for matching and replacing matching pieces with a given text. Use cases for this feature are countless, examples can be found in the Metadata step article.
It's also possible to create a deployment directly from a Git repository, please refer to the Git Repository Overview article for more information.


How did we do?