Open
Description
Previsit
- Make sure that the current latest environments are pushed to all the bl machines
- Skim the IPython startup files in
profile_collection
- Check if it's safe to start
bsui
remotely (does it touch any hardware?) - usegit grep .put
orgit grep caput
- Check if it's safe to start
- Check for outstanding PRs and issues on beamline repos
- Check if beamline specific packages pushed to the BL machines
- (Optional) Enable CI
Housekeeping
- Add BL staff to the BL GitHub organization as owners
- Work with BL staff to commit any un-committed changes to their profiles
- Tag the profile as-found as 2019C3.x
- Discuss with BL staff which conda envs they want to keep/delete and perform the cleanup
- Check/update the beamline's inventory with the BL staff (in https://github.com/NSLS-II/playbooks/blob/master/production)
Test deployment
- In
~/.bashrc
add the following and remember tosource ~/.bashrc
afterward.and (if needed) create those directories, making them world-read/write-able.BLUESKY_LOG_FILE=/var/log/bluesky.log BLUESKY_IPYTHON_LOG_FILE=/var/log/bluesky_ipython.log
- Append to
00-startup.py
https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2 - Run profile against new environment
BS_ENV=collection-2020-2.0rc7 bsui
- Update the profile as needed to run:
- Replace
.value
->.get()
if it's in aDevice
, or withyield from bps.read()
if in a plan -
history.sqlite
issue - see https://blueskyproject.io/bluesky/metadata.html#persistence-between-sessions - potential issue with images in databroker V2
- Replace
- Run acceptance tests (if any) and run a representative set of scans for the beamline
- Tag the updated profile as
2020C2.0
- Update BSUI via ansible to use the new environment (http://nsls-ii.github.io/deployment/upgrading-beamlines.html#change-bsui-s-default-environment)
Activity