Initial public ModelForge release

This commit is contained in:
Jens
2026-09-01 21:30:16 +02:00
commit 7082ab955a
490 changed files with 104252 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
$ErrorActionPreference = "Stop"
$PSNativeCommandUseErrorActionPreference = $true
Push-Location backend
try {
python -m compileall -q src tests
python -m ruff check src tests
python -m mypy src
python -m pytest -q
} finally {
Pop-Location
}
Push-Location frontend
try {
npm test
npm run build
} finally {
Pop-Location
}
Push-Location node-agent
try {
python -m compileall -q src tests
python -m ruff check src tests
python -m mypy src
python -m pytest -q
} finally {
Pop-Location
}
Push-Location runtime-worker
try {
python -m compileall -q src tests
python -m ruff check src tests
python -m mypy src
python -m pytest -q
} finally {
Pop-Location
}
docker compose --env-file .env.example config --quiet
docker compose --env-file .env.example -f docker-compose.yml -f docker-compose.gpu.yml config --quiet
docker compose --env-file .env.example -f docker-compose.node-agent.yml config --quiet
docker compose --env-file .env.example -f docker-compose.node-agent.yml -f docker-compose.runtime-worker.yml config --quiet
$env:MODELFORGE_AGENT_CA_CERT_PATH = "./validation-ca.crt"
$env:MODELFORGE_AGENT_CONTROL_PLANE_HOST_ADDRESS = "192.0.2.10"
try {
docker compose --env-file .env.example -f docker-compose.node-agent.yml -f docker-compose.node-agent.private-ca.yml config --quiet
docker compose --env-file .env.example -f docker-compose.node-agent.yml -f docker-compose.node-agent.private-ca.yml -f docker-compose.runtime-worker.yml -f docker-compose.runtime-worker.private-ca.yml config --quiet
} finally {
Remove-Item Env:MODELFORGE_AGENT_CA_CERT_PATH
Remove-Item Env:MODELFORGE_AGENT_CONTROL_PLANE_HOST_ADDRESS
}
Write-Host "M5 checks passed."