Documentation
Integrations

CI/CD Integration

Integrate AegisRunner with your CI/CD pipeline for automated testing on every deployment.

CI/CD Integration

Integrate AegisRunner into your CI/CD pipelines to automatically run tests, trigger crawls, and gate deployments.

Availability: CI/CD integration is available on Starter plans and above.

Overview

One endpoint supports two workflows:

WorkflowWhenWhat happens
PR TestingPull requestsRuns existing tests, returns pass/fail to block merge
Deploy CrawlAfter deployCrawls site, generates fresh AI tests

Token Management

Create tokens from Project → Integrations → CI/CD. Tokens are SHA-256 hashed, shown once at creation.

Trigger Endpoint

POST /api/v1/ci/trigger\nAuthorization: Bearer aegis_YOUR_TOKEN

Options

FieldTypeDescription
crawlbooleanFull site crawl before tests
baseUrlstringPreview URL (domain must match project)
maxPagesintMax pages to crawl
maxDepthintMax link depth
devicestringdesktop or mobile
fillFormsbooleanFill forms during crawl
respectRobotsbooleanRespect robots.txt
suiteIdsstring[]Specific suites to run
selectionStrategystringSmart selection: all, recent-failures, high-priority, smoke, changed-routes, regression-risk

Examples

Run Tests (PR)

curl -X POST /api/v1/ci/trigger -H "Authorization: Bearer aegis_..." -d "{}"

Crawl + Regenerate (Deploy)

curl -X POST /api/v1/ci/trigger -H "Authorization: Bearer aegis_..." -d "{\"crawl\": true}"

Preview URL

curl -X POST /api/v1/ci/trigger -d "{\"crawl\": true, \"baseUrl\": \"https://preview.example.com\"}"
Config inheritance: When crawl options are omitted, settings from the last crawl are used automatically.

Need help?

Can't find what you're looking for? Our support team is here to help.