Files
cp1-agents/.gitea/workflows/check.yml
Jonathan Boniface c14a94f33b
Some checks failed
check agents / check (push) Failing after 12s
Add hyperscaler discovery MCP servers and Well-Architected guidance
azure-discovery, aws-discovery and gcp-discovery collect read-only metadata
on servers, workloads, Kubernetes clusters, networks, data stores, policies
and provider recommendations. Credentials arrive per call from the vault.
Replies are paged, scrubbed of secrets and anonymised, and throttled calls
back off. cloud-knowledge searches each provider's Well-Architected guidance
from fixed lists only, so no customer detail can leave the platform.

Adds shared skills, the render and test tooling, a public Python Dockerfile
until the hardened base image is reachable, the customer access guide, the
implementation plan and the Vault Service platform issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:11:57 +00:00

30 lines
1.5 KiB
YAML

name: check agents
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check every agent folder (<pattern>/<Feature>/<agent>/)
run: |
# Feature folder names have spaces, so pass the paths NUL-separated.
find sub-agents individual-agents -mindepth 3 -maxdepth 3 -name agent.yaml -print0 \
| xargs -0 -n1 dirname -z | sort -z \
| xargs -0 python3 scripts/check_agents.py --runtime-image cruciblecoredevacr.azurecr.io/kab/agent-runtime-adk:0.35.7
- name: Dry-run the Discovery orchestrator's code (no model, no MCP server)
working-directory: "sub-agents/ALZ-F01: Discovery Workflow Agent"
run: |
python3 -m pip install --quiet jsonschema==4.23.0
python3 scripts/dry_run.py cp1-alz-discovery-orchestrator-agent "$(mktemp -d)"
- name: Test the hyperscaler MCP servers against simulated clouds
run: |
python3 -m pip install --quiet -r mcp-servers/aws-discovery/requirements.txt -c mcp-servers/aws-discovery/constraints.txt
python3 -m pip install --quiet google-auth==2.62.0 requests==2.32.5 moto[all]==5.2.5 pytest pytest-asyncio
python3 scripts/test_mcp_servers.py
- name: Every Feature's workflow export matches its agents' contracts
run: |
find sub-agents individual-agents -mindepth 3 -maxdepth 3 -path '*/scripts/build_workflow.py' -print0 \
| xargs -0 -n1 python3
git diff --exit-code -- sub-agents individual-agents