-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
deploy-2020-2.0Deployment 2020-2.0Deployment 2020-2.0
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
bsuiremotely (does it touch any hardware?) - usegit grep .putorgit 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
~/.bashrcadd the following and remember tosource ~/.bashrcafterward.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.pyhttps://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.sqliteissue - 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)
Metadata
Metadata
Assignees
Labels
deploy-2020-2.0Deployment 2020-2.0Deployment 2020-2.0