Add autocomplete status check and restructure test environments
CI / lint (push) Failing after 26s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after 10s

Add Ollama autocomplete status endpoint to AI routes, update sync panel
UI to display autocomplete state, replace monolithic test compose files
with separate Linux/Windows variants, and add PowerShell build script
for Windows deployment
This commit is contained in:
2026-06-18 09:40:09 -04:00
parent 8acfd1f19a
commit daab917ed1
10 changed files with 460 additions and 137 deletions
+53
View File
@@ -0,0 +1,53 @@
# =============================================================================
# ObsiGate — Environnement de TEST Linux
# =============================================================================
# Utilisé par : build.sh --test-linux
# Ports : 2021 (app), 11435 (Ollama) — ports distincts pour éviter conflits
# Vaults : dossiers temporaires (/tmp/obsigate-test-*)
# Auth : activé, admin / test123
# =============================================================================
services:
obsigate:
build:
context: .
image: obsigate:latest
container_name: obsigate-test
user: "1000:1000"
restart: unless-stopped
ports:
- "2021:8080"
volumes:
- /tmp/obsigate-test-vault:/vaults/TestVault
- /tmp/obsigate-test-dir:/vaults/TestDir
- /tmp/obsigate-test-data:/app/data
environment:
- VAULT_1_NAME=TestVault
- VAULT_1_PATH=/vaults/TestVault
- DIR_1_NAME=TestDir
- DIR_1_PATH=/vaults/TestDir
- OBSIGATE_AUTH_ENABLED=true
- OBSIGATE_ADMIN_USER=admin
- OBSIGATE_ADMIN_PASSWORD=test123
- AI_DEFAULT_PROVIDER=deepseek
- OLLAMA_BASE_URL=http://ollama:11435/v1
- OLLAMA_MODEL=qwen2.5-coder:1.5b
ollama:
image: ollama/ollama:latest
container_name: obsigate-test-ollama
restart: unless-stopped
ports:
- "11435:11434"
volumes:
- ollama_data:/root/.ollama
entrypoint: ["/bin/sh", "-c"]
command:
- |
ollama serve &
sleep 5
ollama pull qwen2.5-coder:1.5b
wait
volumes:
ollama_data: