AtlasOfLivingAustralia / fieldguide

Fieldguide generator
https://fieldguide.ala.org.au
0 stars 0 forks source link

Fieldguide - Upgrade to Grails 5 and Gradle 7 #22

Closed sughics closed 1 year ago

sughics commented 1 year ago

Upgrade based on official Grails documentation: https://docs.grails.org/latest/guide/upgrading.html and existing examples other Grails 5 applications in the ALA e.g.BioCollect.

For application logs, logback.groovy file isno longer supported by grails > 5.1.2 and needs to be replaced with logback.xml . The new logback file to be used on a deployed instance also needs to be added to the appropriate location in the ansible repo ala-install and the ansible task to copy it to the server needs to added accordingly.

The location of the logback.xml file also needs to be added to java options - this can be specified in the appropriate file in ansible-inventory. Example from alerts grails 5 upgrade: https://github.com/AtlasOfLivingAustralia/ansible-inventories/blob/5667924725e74707aadd7f0c1dea39cf0fd9048c/alerts/alerts-test#L89

ala-install branch: https://github.com/AtlasOfLivingAustralia/ala-install/compare/master...feature/grails5-updates ansible-inventories branch: https://github.com/AtlasOfLivingAustralia/ansible-inventories/tree/feature/grails5-updates

sughics commented 1 year ago

Included in 3.0.0

yasima-csiro commented 1 year ago

Released to prod.