Skip to content

feat(install): offer installers per platform and test real features in CI - #3

Merged
capjan merged 6 commits into
mainfrom
feat/platform-e2e
Nov 4, 2026
Merged

capjan merged 6 commits into
mainfrom
feat/platform-e2e

Conversation

@capjan

@capjan capjan commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Offers installers that fit the operating system, and proves the basic features on every platform in the pipeline.

Fix

The catalog always looked for macOS packages, so Windows and Linux were offered .pkg downloads and sudo installer commands.

  • macOS: .pkg, unchanged.
  • Windows: the official .exe installers, with a PowerShell command to verify and install.
  • Linux: Microsoft offers no installer, so Cockpit shows versions, support status and tools, and links to the official install guide. Patches and security fixes are still reported.

New: end-to-end test in the CI matrix

npm --prefix ui run test:e2e starts the real native binary on Linux, Windows and both macOS architectures and uses it like a person:

  • opens every page, filters, opens drawers, and switches theme and palette
  • checks that Install .NET fits the platform
  • really installs, inspects and removes the mdu tool globally and locally, and creates and removes a tool manifest

On Windows CI it also installs the uninstall tool through Settings, installs a real .NET runtime from the offered installer after checking its SHA-512, and removes it through Cockpit. Each step is checked against dotnet itself.

Global tools go to a temporary CLI home, so running the test locally does not touch the machine's real tools.

Not covered

  • Real .NET removal on macOS: it needs the administrator dialog, which a CI runner cannot answer.
  • Install and remove on Linux: not offered, and the test asserts that.

…n the CI matrix

The catalog always looked for macOS packages, so Windows and Linux were offered
.pkg files. Windows now gets the official .exe installers. Linux shows versions and
support status and links to Microsoft's install guide, because no installer exists.

A new end-to-end suite runs the native binary on every CI platform and really installs
and removes a tool. On Windows it also installs and removes a .NET runtime.
@capjan
capjan merged commit efffba4 into main Nov 4, 2026
12 checks passed
@capjan
capjan deleted the feat/platform-e2e branch November 6, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant