Skip the svclb refresh when a restored lab has no GitLab

Closes #54 (closed)

A caproni --no-gitlab lab installs no k3s and no GitLab. settle_restored chose its branch from the recorded base, which defaults to caproni, so restore ran refresh_svclb and retried sudo k3s until the 900s bound. The record has no gitlab_url (only an install sets it), so settle_restored now returns for every base when it is empty, as the omnibus branch already did.

  • Self-test: a caproni lab with no gitlab_url restores, exits 0 and makes no ssh call. It fails with the fix reverted. The caproni-with-GitLab case now records a gitlab_url and still refreshes svclb and waits for sign-in.
  • Live: caproni --no-gitlab sim-ngr1, up, snapshot, down --keep-snapshot, restore completed in 49s with no k3s call, then down; no instance, disk, snapshot, address or rule left.

Merge request reports

Loading
Loading