-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial Agent CI and K8s
How this agent’s own GitHub Actions workflows, Docker image, and Kubernetes manifests run smoke / post-deploy / nightly jobs.
Deep docs: Tutorial 09 · kubernetes/.
Integrating zyvor-qa into another product’s pipeline? Use Tutorial: External CI/CD instead.
Workflows under .github/workflows/ (see also github_integration/workflows/):
Triggers: push/PR to main, nightly ~06:00 UTC, manual dispatch.
-
smoke: install +
zyvor-qa test(e.g. againsthttps://zyvor.dev), uploadreports/+test-results/ -
multi-browser:
workflow_dispatch— chromium + firefox + webkit
Trigger: repository_dispatch type staging-deployed → zyvor-qa run --source github (LLM analysis, regression, optional Slack).
From your product deploy job:
- name: Trigger QA
run: |
gh api repos/<owner>/<qa-agent-repo>/dispatches \
-f event_type=staging-deployed
env:
GH_TOKEN: ${{ secrets.QA_DISPATCH_TOKEN }}| Kind | Name | Purpose |
|---|---|---|
| Variable | ZYVOR_PRODUCT_REPO |
Product owner/repo
|
| Variable | ZYVOR_BASE_URL |
Deployment under test |
| Variable |
LLM_PROVIDER / LLM_MODEL
|
Provider selection |
| Secret |
OPENAI_API_KEY / ANTHROPIC_API_KEY
|
Matching provider |
| Secret | SLACK_WEBHOOK_URL |
Optional notify |
make docker
docker build -f docker/Dockerfile -t zyvor-qa-agent .
docker run --env-file .env zyvor-qa-agent test
docker run --env-file .env -p 8080:8080 zyvor-qa-agent \
serve --port 8080 --host 0.0.0.0Published: ghcr.io/hypersdk/zyaiqaagent:v0.4.0 — Deploy and Releases.
| Manifest | Workload |
|---|---|
deployment + service + ingress
|
zyvor-qa serve (+ /health probes) |
cronjob |
Nightly zyvor-qa test
|
configmap / secret
|
Flags, URLs, keys |
make k8s-validate
make k8s-applyOne-shot remote: ./scripts/deploy-remote.sh host user --k3s — Deploy and Releases.
| Approach | Best for |
|---|---|
zyvor-qa serve + GitHub webhook |
Always-on agent; PR comments from live host — GitHub Integration |
repository_dispatch into agent Actions |
Product deploy triggers agent repo workflow |
| External Action/container in product CI | Product owns the gate — External CI/CD |
Tutorial: External CI/CD · Tutorial: GitHub Integration · Mission Control
Start: Home · Getting Started · Tutorials · Workflows · Admin · Dashboard
Tutorials: Spec→Test · NL · GitHub · Coverage · Visual · Notify · External CI · Agent CI · zyvor.dev · Specs
Build: Architecture · Config · Authoring · Structure · Multi-browser · Rust
Actions: Mission Control · Journeys · API/Auth · Probes · Schedules · Ask Zyvor · Autofix
Ship: API · Webhooks · Security · CI/CD · Deploy · Releases · Enterprise
More: Troubleshoot · FAQ · Glossary · Contributing · Demos · Docs
Guides