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>
This commit is contained in:
Tarik Moussa
2026-06-14 08:19:01 +02:00
parent 72a902010a
commit 38a6851b46
4 changed files with 52 additions and 3 deletions

View File

@@ -22,7 +22,8 @@ jobs:
env:
AI_PROVIDER: ollama
AI_MODEL: coder
AI_BASE_URL: http://192.168.178.103:11434/v1
# JETSON_OLLAMA_URL: org variable in conformallab → Actions → Variables
AI_BASE_URL: ${{ vars.JETSON_OLLAMA_URL || 'http://192.168.178.103:11434/v1' }}
GITEA_TOKEN: ${{ github.token }}
GITEA_API: https://git.eulernest.eu/api/v1
steps: