Skip to content

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.

Open full interactive viewer →

PlatformStatusGuide
GitHub ActionsStableGitHub Actions
GitLab CIExperimentalGitLab CI
Bitbucket PipelinesExperimentalBitbucket Pipelines

You can also run Erode on any infrastructure using the self-hosted guide.

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 →

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.

Set up GitLab CI →

Erode provides an entrypoint script (entrypoint-bitbucket.sh) for Bitbucket Cloud. Self-hosted Bitbucket Data Center and Server instances are also supported.

Set up Bitbucket Pipelines →

Run Erode on any infrastructure using the Docker image or the CLI directly. This covers bare metal, Kubernetes, and other CI systems.

Self-hosted guide →