Skip to content

Add ucar_endpoint.sh and unify endpoint scripts with start/restart/status#44

Merged
rajeeja merged 1 commit into
mainfrom
rajeeja/endpoint-scripts
May 13, 2026
Merged

Add ucar_endpoint.sh and unify endpoint scripts with start/restart/status#44
rajeeja merged 1 commit into
mainfrom
rajeeja/endpoint-scripts

Conversation

@rajeeja
Copy link
Copy Markdown
Collaborator

@rajeeja rajeeja commented May 13, 2026

Summary

  • Adds scripts/ucar_endpoint.sh for the NCAR/Casper endpoint: handles module loads, conda activate, YAC path setup, tmux session management, and globus-compute-endpoint start in one command
  • Refactors scripts/improv_endpoint.sh to match the same interface: configure / start / restart / status
  • Both scripts expose a USERNAME variable at the top with a comment so other users can adapt without hunting through the file
  • The start subcommand uses a tmux self-exec pattern so the endpoint survives SSH session disconnect

Fresh-login usage

UCAR (Casper):

bash scripts/ucar_endpoint.sh start

Improv (ANL):

bash scripts/improv_endpoint.sh start

Test plan

  • Pre-commit: all hooks pass
  • pytest tests/ --ignore=tests/test_remote_agent.py: 248 passed

…status

Both scripts now share a consistent interface (configure / start / restart /
status) and expose a USERNAME variable at the top so other users can adapt
them without hunting through the file. The tmux self-exec pattern keeps the
endpoint alive beyond the SSH session.
@rajeeja rajeeja merged commit 33cdd3f into main May 13, 2026
8 checks passed
@rajeeja rajeeja deleted the rajeeja/endpoint-scripts branch May 13, 2026 22:47
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