Add SemVer VERSION, Jenkins CI/CD, and release 0.1.1.

Ship Harbor/Hub push with latest+version tags, deploy to vmware.devops.org.ru, and show the package version badge in Help → About.
This commit is contained in:
2026-07-28 00:57:11 +03:00
parent e8b08526d1
commit 229a705987
19 changed files with 606 additions and 20 deletions
+7 -2
View File
@@ -18,6 +18,7 @@ from app.dependencies import get_database
from app.simulation.seed import apply_seed, build_profile, simulation_state_summary
from app.web.assets import compact_console_html, console_html
from app.web.compatibility_catalog import compatibility_payload
from app.version import get_app_version
from app.web.contract_catalog import catalog_payload, list_majors, load_snapshot, method_payload
router = APIRouter(tags=["Simulator"])
@@ -55,8 +56,12 @@ async def ui_versions(request: Request) -> JSONResponse:
if _use_vsphere_plane(request):
from app.vsphere.contracts.catalog import list_vsphere_majors
return JSONResponse(list_vsphere_majors(runtime_version=runtime_version))
return JSONResponse(list_majors(runtime_version=runtime_version, settings=settings))
payload = list_vsphere_majors(runtime_version=runtime_version)
else:
payload = list_majors(runtime_version=runtime_version, settings=settings)
if isinstance(payload, dict):
payload = {**payload, "app_version": get_app_version()}
return JSONResponse(payload)
@router.get("/ui/api/catalog", include_in_schema=False)