Rothamsted-Ecoinformatics / farm_rothamsted

Custom farmOS features for Rothamsted Research.
GNU General Public License v2.0
6 stars 1 forks source link

Deploy 2.17.0 #583

Closed paul121 closed 1 year ago

paul121 commented 1 year ago

2.17.0 is tagged and ready to deploy once @aislinnpearson gives the approval!

[!IMPORTANT] After this is deployed @aislinnpearson will update users to have correct roles. After that is done we need to remove the farmOS core roles: #581

[!NOTE] There are 7 update hooks updating roles, fields and enabling the new farm_rothamsted_roles submodule:

   Executing deploy hook for application app
      ------------------- -------------------- ------------- ----------------------- 
       Module              Update ID            Type          Description            
      ------------------- -------------------- ------------- -----------------------     
       farm_rothamsted_e   2_17_remove_roles    post-update   Remove sponsor role.   
       xperiment                                                                     
       farm_rothamsted_e   2_17_add_design_fi   post-update   Add design fields.     
       xperiment_researc   elds                                                      
       h                                                                             
       farm_rothamsted_e   2_17_migrate_desig   post-update   Migrate design plot    
       xperiment_researc   n_plot_fields                      fields to notes        
       h                                                      field.                 
       farm_rothamsted_e   2_17_proposal_comm   post-update   Add review field on    
       xperiment_researc   ent_review                         proposal comments.     
       h                                                                             
       farm_rothamsted_e   2_17_remove_design   post-update   Remove design as       
       xperiment_researc   _as_treatment_fiel                 treatment fields.      
       h                   ds                                                        
       farm_rothamsted_e   2_17_update_resear   post-update   Update roles.          
       xperiment_researc   ch_roles                                                  
       h                                                                             
       farm_rothamsted     2_17_enable_role_s   post-update   Enable role            
                           ubmodule                           submodule.
      ------------------- -------------------- ------------- ----------------------- 
aislinnpearson commented 1 year ago

HI @mstenta, @paul121 - I am happy for you to do this. Please go ahead today if that works - I'm reasonably confident that because we are keeping the existing profiles no one will notice the change. We finally got it done! It's been a challenging one, but I do really like the setup :)

mstenta commented 1 year ago

Deployed to all three instances! No errors during the updates - looks like it all went smoothly.

Assigning to @aislinnpearson to review and close this.

@aislinnpearson now you can work on reassigning the roles in #581 and then assign that to me and I'll remove the old Manager, Worker, and Viewer roles.

aislinnpearson commented 1 year ago

This is done now @mstenta. I have double checked everyone and I don't think I missed anyone but just in case I have (and if it affects the removal of standard roles) please just assign them the Farm Viewer role and I can update it later.

Thanks for everything both.

mstenta commented 1 year ago

Done!