LFRic Apps Release#
LFRic Inputs KGO Install#
This can be done at any point once all PRs that change lfricinputs kgo have been committed.
It’s easiest to use the umtest nightly testing for this and will save having to run the suite twice.
Alternatively, run
cylc vip -z g=lfricinputs -S HOUSEKEEPING=false -n lfricinputs_kgo ./rose-stemand wait for this to finish - all jobs should pass.Install the kgo by running
$UMDIR/SimSys_Scripts/kgo_updates/meto_update_kgo.sh --new-releaseThe script will ask for a clone path - this can be any lfric apps clone as it will not be modified.
The version number and PR number are not used, although an entry is required.
The kgo install directory must be updated to vnX.Y
LFRic Release#
Ensure you have a fork of both the
lfric_appsandlfric_corerepositories, and that themainbranches in each are up to date with the upstream repository.In a clone of these forks, create a branch using the
mainbranch as the parent.
Important
Ensure you create branches from main, otherwise you will not include the changes from the past release.
Move into the lfric apps clone
Run the release script,
$UMDIR/SimSys_Scripts/lfric_macros/release_lfric.py -o A.B -v X.Y -t TTTT -c /path/to/coreA.B- the previous versionX.Y- the new versionTTTT- the apps release PR number/path/to/core- path to the lfric core clone
Check the output looks sensible. It should:
Update the version number
Revert any changes to
rose-stem/site/meto/variables_*.cylcCopy the
HEADmetadata tovnX.YAdd a blank upgrade macro to all
versions.pyfilesApply the upgrade macro - rose apps should be updated to the new version
Add a
version_ab_xy.pyupgrade file - a copy of the versions.py fileReset the
versions.pyfile with no upgrade macros
Tag other repositories and update dependencies.yaml:
Add an
appsX.Ytag to each of the feeder repositoriesCasim
Jules
Socrates
UKCA
In dependencies.yaml:
Ensure the
lfric_coresourceis pointing at the local clone of your branch.Update
reffor above repositories to beappsX.Y
Commit your changes to both Apps and Core branches.
Run the test suites
cylc vip -z g=all -n lfric_*X.Y ./rose-stemfor both Apps and Core.
Once testing is complete, update LFRic Core in
dependencies.yamlsourceshould be the MetOffice ssh urlrefshould becoreX.Y
Open a PR for each and with a reviewer, follow the review process