Pull Request Integration
Maestro Cloud also provides support for native pull request integration. This is useful if you'd like to run your Flows asynchronously but still block pull requests from landing if flow failures are detected.
Maestro Cloud currently supports Pull Request Integration for GitHub and GitHub Enterprise only. Support for other platforms coming soon.
- ✅ GitHub Support
- ✅ GitHub Enterprise Support
- 🚧 GitLab Support
- 🚧 Bitbucket Support
For certain types of issues (eg: Performance Regressions), Meastro Cloud needs to compare pull request results against a Baseline Branch (typically your main or master branch).
Specify your Baseline Branch using the
config.yamlfile. Create the following file under the
.maestro/directory (or wherever your Flows are if you are using a custom directory). Update
mainto the branch you'd like to use as your baseline.
maestro cloud \
--apiKey <apiKey> \
--branch <branch> \
--repoOwner <repoOwner> \
--repoName <repoName> \
--pullRequestId <pullRequestId> \
--commitSha <commitSha> \
- 1.Ensure that uploads are triggered on every pull request. Exactly how this is accomplished depends on your CI setup.
- 2.Add the following values to the JSON data in the upload API request:
In order to update the status of pull requests, you'll need to grant Maestro Cloud permissions to do so.
Lastly, open a pull request and ensure that the Maestro Cloud check shows up on your pull request.
GitHub / GitHub Enterprise