Having a PR that captures your deployments’ information opens the door for CI/CD automated jobs that are triggered upon creation and / or changes to the PR. These automated jobs can leverage Salto’s CLI in order to automate deployment preview checks, validation runs and deployment / promotion of changes.
Setup instructions and complete CLI interface can be found here.
Injecting CI Configuration Files
In order to trigger CI jobs upon PR creation / modification, the git branches should include configuration files for the CI tool that is being used.
To Inject your CI config files into the branches created by Salto:
Create a branch in the same repository in which the PRs are created and push any CI configuration files.
In the version control section of the environment settings, click the 'Select Branch' button located next to 'CI/CD configuration file location'.
CI Configuration File Examples
CI configuration file examples for various git providers can be found here