DiamondLightSource / hyperion

Unattended Data Collection using BlueSky / Ophyd
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Make deploy script create venv while SSH'd into control machine #1369

Closed olliesilvester closed 4 months ago

olliesilvester commented 5 months ago

Fixes #1103

Now uses subprocess to SSH, so that it only asks for the password if it needs it

To test:

  1. Confirm deploy script in dev mode still works as expected, using python deploy_hyperion.py "dev" (NOTE: this won't actually work until we make a release with this change merged in, since the script will search the latest release for the file created in this PR)
  2. We don't have unit tests for the deploy script, so test live on beamline for next deployment