Commit Graph

12 Commits

Author SHA1 Message Date
Tarik Moussa
38a6851b46 feat(cd): auto-deploy ci-ai-bot on push + dehard-code Jetson URL
- .gitea/workflows/cd.yml: on push to main (bot/** or scripts/**),
  build ci-ai-bot:latest on the Pi runner via DooD and force-recreate
  the container with docker compose (no registry push needed)
- reusable-{ai-review,commands,security}.yml: replace hardcoded
  192.168.178.103:11434 with ${{ vars.JETSON_OLLAMA_URL }} (org variable
  set in conformallab → fallback to old IP if variable is missing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 08:19:01 +02:00
Tarik Moussa
72a902010a chore(llm): refresh defaults to match deployed Jetson backend
llm.py defaulted to AI_PROVIDER=anthropic, AI_MODEL=qwen-light, and the
dead .20 Jetson IP — none of which match how workflows/bot actually run
it (ollama / coder / .103). Update the defaults and docstring to reflect
the live self-hosted setup, and refresh the README note that flagged the
mismatch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 15:20:15 +02:00
9dbdea4e51 docs: document interactive ci-ai-bot + current Jetson backend (#1) 2026-06-13 08:53:48 +00:00
ddeb3142e7 feat(bot): interactive Gitea webhook bot (FastAPI) — @mention chat + auto PR review
A small persistent service (bot/app.py) that reuses the ci-ai modules
(llm.py->Jetson, gitea_api.py, ai_review prompt). Handles issue_comment
@ci-ai mentions as threaded chat and pull_request events as idempotent
reviews — answering in seconds via webhook, with NO runner/clone/hairpin.
Runs on the Pi next to Gitea (internal http://gitea:3000 API).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 22:23:00 +02:00
2ae14a51e4 feat: self-hosted LLM backend — point all workflows at the Jetson (Ollama, model=coder)
The Jetson Orin Nano (JetPack 7.2, Ollama on GPU) is live, so ci-ai runs fully
self-hosted: no Anthropic key, no cloud, no per-PR cost. AI_PROVIDER=ollama,
AI_BASE_URL=http://192.168.178.103:11434/v1. The Pi runner reaches it LAN-direct
(SNAT to .48, allowed by the Jetson UFW). Removed the dead ANTHROPIC_API_KEY
secret declarations.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 21:58:07 +02:00
eb0437b0ed feat: test-generation + issue/PR summary via slash commands (/gen-tests, /summarize)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 07:09:11 +02:00
dc35579135 chore: stop tracking .DS_Store 2026-06-10 06:39:20 +02:00
00a202ebba feat: global reusable workflows (workflow_call) + thin caller template
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 06:39:08 +02:00
7abff71561 feat: graceful skip without API key + finalize workflows (container/memory caps, ARM64)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 17:05:33 +02:00
acda85cbff ci: remove temporary executor-probe workflow
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 16:46:15 +02:00
2884b809d0 ci: executor probe on main (temporary)
Some checks failed
hello-executor-probe / default-image (push) Has been cancelled
hello-executor-probe / slim-python (push) Has been cancelled
2026-06-09 15:45:17 +02:00
daf89ff8b9 ci-ai: KI-Schicht für die Gitea-CI (PR-Review, Security-Erklärung, CI-Failure-Analyse)
Provider-agnostische LLM-Anbindung (Anthropic jetzt, Jetson/Ollama später per
Env-Var umschaltbar). Stdlib-only Skripte + Beispiel-Workflows. GitLab-Duo-Parität
für self-hosted Gitea + act_runner.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 15:38:53 +02:00