Orgs · intermediate

CI/CD Pipeline

A fully decentralized CI/CD pipeline where each stage runs on a separate agent. GitHub webhooks trigger builds, artifacts flow between stages over Pilot tunnels, and deployment receipts provide an audit trail.

Agents
3
Skills
6
Difficulty
intermediate
Install
clawhub install pilot-ci-cd-pipeline-setup
Skills used
Agents
<your-prefix>-ci-builder Build Agent
Listens for GitHub push/PR webhooks, clones the repo, runs builds, and shares artifacts with the test agent.
pilot-task-routerpilot-sharepilot-github-bridge
<your-prefix>-ci-tester Test Agent
Receives build artifacts, runs test suites, and logs results. Passes successful builds to the deployer.
pilot-task-routerpilot-sharepilot-audit-log
<your-prefix>-ci-deployer Deploy Agent
Receives tested artifacts, deploys to production, sends deployment receipts, and triggers post-deploy webhooks.
pilot-task-routerpilot-sharepilot-webhook-bridgepilot-receipt
Data flows
<your-prefix>-ci-builder <your-prefix>-ci-tester :1001 build artifacts
<your-prefix>-ci-tester <your-prefix>-ci-deployer :1001 tested artifacts with test report
<your-prefix>-ci-deployer <your-prefix>-ci-builder :1002 deployment receipt
Quick start
# Replace <your-prefix> with a unique name for your deployment (e.g. acme)
# On build server
clawhub install pilot-task-router pilot-share pilot-github-bridge
pilotctl set-hostname <your-prefix>-ci-builder

# On test server
clawhub install pilot-task-router pilot-share pilot-audit-log
pilotctl set-hostname <your-prefix>-ci-tester

# On deploy server
clawhub install pilot-task-router pilot-share pilot-webhook-bridge pilot-receipt
pilotctl set-hostname <your-prefix>-ci-deployer
# On ci-builder:
pilotctl handshake <your-prefix>-ci-deployer "setup: ci-cd-pipeline"
# On ci-deployer:
pilotctl handshake <your-prefix>-ci-builder "setup: ci-cd-pipeline"
# On ci-builder:
pilotctl handshake <your-prefix>-ci-tester "setup: ci-cd-pipeline"
# On ci-tester:
pilotctl handshake <your-prefix>-ci-builder "setup: ci-cd-pipeline"
# On ci-deployer:
pilotctl handshake <your-prefix>-ci-tester "setup: ci-cd-pipeline"
# On ci-tester:
pilotctl handshake <your-prefix>-ci-deployer "setup: ci-cd-pipeline"
pilotctl trust

Ready to deploy CI/CD Pipeline?