Configuring Review Sandboxes
sfops provide you with a feature to create a pool of sandboxes to use as "Review Sandboxes". These sandboxes to the review category as mentioned in the flxbl environment management guide.
In your repository, you need to have a file similar to one below and the path configured in your project workflows for creating sandboxes (sfops-cron-ci-sandbox-create-v2.yml or your variaton).
The latest schema for sandbox pool definition can be found here
The <your-org>sfops-gh-actions/.github/workflows/sandbox-pool-creator.yml@main
workflow accepts a JSON configuration file that defines settings and attributes of the sandbox pool. The properties accepted by the configuration file are shown in the table below.
You could have one or more of pools mentioned in a single configuration file and could have multiple configuration files. When you have more than one configuration files, ensure that you have replicated the equivalent github workflow and provided the right file path to your config file
Review sandboxes are dedicated to a single PR, if you would like to reuse review sandboxes (not recommended) due to shortage of licenses or due to issues with provisioning sandboxes, please set 'SFOPS_RETURN_REVIEW_BACK_TO_POOL' to true in your Actions/Variables
Last updated