CI Integration
Erode runs inside your CI pipeline and analyzes every pull request against your architecture model. When a PR introduces an undeclared dependency, Erode flags the violation and comments directly on the pull request.
All platforms use the same Docker image and analysis engine — only the entrypoint and platform-specific environment variables differ.
Supported platforms
Section titled “Supported platforms”| Platform | Status | Guide |
|---|---|---|
| GitHub Actions | Stable | GitHub Actions |
| GitLab CI | Experimental | GitLab CI |
| Bitbucket Pipelines | Experimental | Bitbucket Pipelines |
You can also run Erode on any infrastructure using the self-hosted guide.
GitHub Actions
Section titled “GitHub Actions”The GitHub Action is the most mature integration. It supports action inputs and outputs, automatic PR comments, and optional model-update PRs out of the box.
Get started with GitHub Actions →
GitLab CI
Section titled “GitLab CI”Erode provides an entrypoint script (entrypoint-gitlab.sh) that handles model cloning and merge request URL construction. It works with both gitlab.com and self-hosted instances.
Bitbucket Pipelines
Section titled “Bitbucket Pipelines”Erode provides an entrypoint script (entrypoint-bitbucket.sh) for Bitbucket Cloud. Self-hosted Bitbucket Data Center and Server instances are also supported.
Self-hosted
Section titled “Self-hosted”Run Erode on any infrastructure using the Docker image or the CLI directly. This covers bare metal, Kubernetes, and other CI systems.