chore: interne Host-Adresse durch generischen Hostnamen ersetzt
Ersetzt die private LAN-IP des Jetson durch jetson.local in Doku, Beispiel-Workflows und als Default in scripts/llm.py. Betrifft nur Fallback-Werte -- die Org-Variable JETSON_OLLAMA_URL bzw. AI_BASE_URL hat weiterhin Vorrang. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
# - Runner config must list /var/run/docker.sock and /mnt/external in valid_volumes
|
||||
# (set in ansible-eulernest roles/gitea_runner/templates/config.yaml.j2).
|
||||
# - Set org variable JETSON_OLLAMA_URL in conformallab → Actions → Variables:
|
||||
# value = http://192.168.178.103:11434/v1
|
||||
# value = http://jetson.local:11434/v1
|
||||
name: CD — ci-ai-bot
|
||||
|
||||
on:
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
AI_PROVIDER: ollama
|
||||
AI_MODEL: coder
|
||||
# JETSON_OLLAMA_URL: org variable in conformallab → Actions → Variables
|
||||
AI_BASE_URL: ${{ vars.JETSON_OLLAMA_URL || 'http://192.168.178.103:11434/v1' }}
|
||||
AI_BASE_URL: ${{ vars.JETSON_OLLAMA_URL || 'http://jetson.local:11434/v1' }}
|
||||
GITEA_TOKEN: ${{ github.token }}
|
||||
GITEA_API: https://git.eulernest.eu/api/v1
|
||||
run: python /opt/ci-ai/scripts/ai_review.py
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
AI_PROVIDER: ollama
|
||||
AI_MODEL: coder
|
||||
# JETSON_OLLAMA_URL: org variable in conformallab → Actions → Variables
|
||||
AI_BASE_URL: ${{ vars.JETSON_OLLAMA_URL || 'http://192.168.178.103:11434/v1' }}
|
||||
AI_BASE_URL: ${{ vars.JETSON_OLLAMA_URL || 'http://jetson.local:11434/v1' }}
|
||||
GITEA_TOKEN: ${{ github.token }}
|
||||
GITEA_API: https://git.eulernest.eu/api/v1
|
||||
steps:
|
||||
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
AI_PROVIDER: ollama
|
||||
AI_MODEL: coder
|
||||
# JETSON_OLLAMA_URL: org variable in conformallab → Actions → Variables
|
||||
AI_BASE_URL: ${{ vars.JETSON_OLLAMA_URL || 'http://192.168.178.103:11434/v1' }}
|
||||
AI_BASE_URL: ${{ vars.JETSON_OLLAMA_URL || 'http://jetson.local:11434/v1' }}
|
||||
GITEA_TOKEN: ${{ github.token }}
|
||||
GITEA_API: https://git.eulernest.eu/api/v1
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user