feat(deploy): TrueNAS Custom-App + Auto-Deploy, plus aufgelaufene Arbeit
Deployment: - custom-app.compose.yaml: self-contained Compose fuer TrueNAS "Custom App" (absolute Host-Bind-Pfade, postgres:18, pull_policy always, Port 8090) - scripts/truenas-deploy.sh: Host-Skript create/redeploy via midclt (App bleibt unter Apps sichtbar) inkl. Image-Pull + Health-Check - ci.yml Deploy-Job: laeuft auf ubuntu-latest-Runner, kopiert Deploy-Dateien per SSH auf den NAS-Host und triggert truenas-deploy.sh (statt runs-on goldeye) - compose.yaml/.env.example: postgres:18 (Locale-Match zur Quell-DB), Port 8090 - .gitignore: .agents/, tools/rag/, deploy/truenas/.env (Secrets/Scratch) Aufgelaufene Feature-Arbeit (verified/Freeze, Migrationen, Import-Triage): - GerbilOverride/VerifiedGerbil-Endpoints + GerbilSnapshotService + Tests - EF-Migrationen (ShowInChronicle, Stillborn, BirthOrder, ManualFlag, DSGVO) - Frontend VerifizierteTierePage + verified-API + e2e-Spec - diverse Import-/Triage-Skripte und -Tests Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
34
tools/import/resolve_tickets_jackjack.py
Normal file
34
tools/import/resolve_tickets_jackjack.py
Normal file
@@ -0,0 +1,34 @@
|
||||
import urllib.request
|
||||
import json
|
||||
import sys
|
||||
|
||||
sys.stdout.reconfigure(encoding='utf-8')
|
||||
|
||||
tickets = [
|
||||
{
|
||||
"id": "eb2131d9-954d-41f3-982e-a10f1d7e87f4",
|
||||
"fixNote": "Alvin und JackJack wurden erfolgreich im selben Wurf (A-Wurf vom 18.02.2010) zusammengeführt. Die getrennten Wurf-Hälften wurden konsolidiert. Bitte lade die Seite neu."
|
||||
},
|
||||
{
|
||||
"id": "df918dd2-fecb-4a50-a971-41d7c18fbd7c",
|
||||
"fixNote": "Der Wurf wurde mit den RennerPro-Daten abgeglichen. Alvin, JackJack und JackSack sind nun korrekt zusammen im A-Wurf vom 18.02.2010 eingetragen. Bitte lade die Seite neu."
|
||||
}
|
||||
]
|
||||
|
||||
for t in tickets:
|
||||
url = f"http://localhost:5179/feedback/{t['id']}"
|
||||
payload = {
|
||||
"status": "Resolved",
|
||||
"fixNote": t["fixNote"]
|
||||
}
|
||||
try:
|
||||
req = urllib.request.Request(
|
||||
url,
|
||||
data=json.dumps(payload).encode('utf-8'),
|
||||
headers={"Content-Type": "application/json"},
|
||||
method="PUT"
|
||||
)
|
||||
with urllib.request.urlopen(req) as res:
|
||||
print(f"Ticket {t['id']} -> Status: {res.status}")
|
||||
except Exception as e:
|
||||
print(f"Error on {t['id']}: {e}")
|
||||
Reference in New Issue
Block a user