Skip to content

EbbTop 0.2.7

Choose a tag to compare

@kylernunan kylernunan released this 15 Nov 08:22
· 58 commits to main since this release

Install and uninstall wizards for all three parts, and the Windows installer is
now safe to drive from a wizard.

What is new

  • deploy/agent-wizard.sh (monitored Linux host, local or over SSH): install or
    update from a checkout, uninstall, status. It wraps the existing
    install-agent.sh / install-agent-remote.sh, so the result is the same
    service, unit and token as before; uninstall removes the unit and binary,
    --purge also deletes the token and env files.
  • deploy/windows/setup.ps1 (this release's new asset): install, uninstall and
    status for the Windows client. It checks ebbtop.exe against SHA256SUMS
    first, then runs install.ps1, so the backup, Desktop shortcut and Startup
    behaviour are unchanged. -Action uninstall removes the exe, .bak and
    shortcuts and leaves %APPDATA%\ebbtop alone unless -Purge is given.
  • deploy/mac/setup.sh (in the repo): install EbbTop.app from dist/,
    ~/Downloads or --from <zip|app>, verify the signature, clear the
    quarantine flag; uninstall removes the bundle, --purge also deletes the
    config, log and the stored keychain tokens.
  • Every wizard shows the state it found, prints the plan, asks once, acts and
    then verifies. --yes / -Yes takes every default, --dry-run / -WhatIf
    changes nothing, --help / -Help lists the flags. No wizard reads a token
    out; uninstall counts the stored tokens and deletes them only on --purge /
    -Purge.
  • install.ps1 gained -NoRelaunch (so a wizard decides when the app starts)
    and no longer fails when the Desktop or Startup folder cannot be resolved.

Windows client install

Download ebbtop.exe, ebbtop-probe.exe, install.ps1, setup.ps1 and
SHA256SUMS here, then in PowerShell:

Get-FileHash ebbtop.exe -Algorithm SHA256      # compare with SHA256SUMS
powershell -ExecutionPolicy Bypass -File setup.ps1                        # wizard, no arguments
powershell -ExecutionPolicy Bypass -File setup.ps1 -Action install -Exe .\ebbtop.exe -Autostart
powershell -ExecutionPolicy Bypass -File setup.ps1 -Action uninstall      # add -Purge for config and tokens

setup.ps1 must sit next to install.ps1: it hands off to it. The plain
install.ps1 -Exe .\ebbtop.exe -Autostart path still works exactly as before.

Agent requirement

No agent change. The wire contract is the one from 0.2.x; an older agent still
renders (empty user/state/cgroup, everything under (host) in the workload
pane). The agent wizard only changes how the agent is installed.

Not in this release

  • No macOS bundle. The Mac build machine was offline when this release was cut,
    so EbbTop.app.zip from 0.2.6 is still the current Mac client; the client
    code is unchanged in 0.2.7. deploy/mac/setup.sh in the repo installs that
    zip (bash deploy/mac/setup.sh install --from ~/Downloads/EbbTop.app.zip).
  • No client behaviour change: the exe is rebuilt for the version string only.

Verification

cargo test -p ebbtop-core -p ebbtop-agent -p ebbtop-gui passes: every target
ok, 217 tests passed, 2 ignored, 0 failed. deploy/cross-build-windows.sh exits 0
with the DLL-import gate passing, dist/BUILD reads version 0.2.7 / commit 844dc84, and sha256sum -c SHA256SUMS passes inside dist/. The wizards were
exercised in a sandbox (fake home, stubbed systemd/mac tools, pwsh on Linux):
install, uninstall, purge, dry-run and the token-not-printed check all pass.