Skip to content

Ship a generic workstation setup script - #64

Merged
daniel-rossier merged 1 commit into
mainfrom
feat/generic-client-setup
Dec 1, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
feat/generic-client-setup

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

scripts/spear-client-setup.sh is back in the public tree without any site value: the site hands over its workstation.conf (and a registry-ca.crt beside it); the script derives the registry from the image, logs in, pulls, installs the launcher and writes local.conf. Documented in doc/source/start/container_run.rst. Tested with stub docker/sudo: env password, interactive login, image override, registry-less image, rerun idempotence, .bak only for a pre-existing file.

scripts/spear-client-setup.sh prepares a workstation to run a SPEAR image
from a private registry. It left the public tree because it named one
site's host and carried its certificate; it comes back with neither.

The site hands over its launcher configuration, workstation.conf, which
already names the image and the inference host. The script derives the
registry from the image name, trusts a registry-ca.crt found beside the
file, logs in (SPEAR_REGISTRY_USER from the file, the password from
SPEAR_REGISTRY_PASSWORD or asked), pulls the image, installs the launcher
and copies the file to local.conf. A local.conf that was there before and
differs is kept as local.conf.bak. A second argument overrides the image.
@daniel-rossier
daniel-rossier merged commit 7582428 into main Dec 1, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the feat/generic-client-setup branch December 1, 2026 07:51
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