$ su - <your-controls-account>
$ sudo su -
# conda activate base # should be activated by default, but just in case.
# conda install conda -c https://repo.anaconda.com/pkgs/main/
[x] Add BL staff to the BL GitHub organization as owners
[x] Work with BL staff to commit any un-committed changes to their profiles
[x] Tag the profile_collection repository as-found as 2020C2.1
$ git tag -a 2020C2.1
Enter a message such as Before 2021C1.0 deployment.
[x] Discuss with BL staff which conda envs they want to keep/delete and perform the cleanup
Current workstations
Previsit
profile_collection
bsui
remotely (does it touch any hardware?) - usegit grep .put
orgit grep caput
current_env_tag
in theproduction
fileHousekeeping
Enter a message such as
Before 2021C1.0 deployment.
~/.bashrc
, if necessary, update the logging environment variables to use directory/var/log/bluesky/...
and addumask 0002
.and (if needed) create that directory with the following permissions and ownership:
Remember to
source ~/.bashrc
.PersistentDict
to bug-fixed version (see the updated gist snippet: https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2).Test deployment
It may be necessary to disable
jedi
inipython
. Add this to theipython
command line arguments inbsui
:Finish
[ ] Tag the updated profile as
2021C1.0
Enter a message such as
After 2021C1.0 deployment.
[ ] Open and merge a PR against https://github.com/NSLS-II/playbooks setting
current_env_tag="2021-1.0"
for the ESM-1 beamline[ ] Update BSUI via ansible to use the new environment (http://nsls-ii.github.io/deployment/upgrading-beamlines.html#change-bsui-s-default-environment)