-
Notifications
You must be signed in to change notification settings - Fork 17
Release tasks port fork #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
R Sharp (r-sharp)
merged 7 commits into
MetOffice:main
from
james-bruten-mo:release_tasks_port_fork
Jul 16, 2025
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
fbe004f
more release wps
james-bruten-mo d1dee09
initial wps
james-bruten-mo e493516
Merge remote-tracking branch 'origin/release_ports' into release_task…
james-bruten-mo 6d095b3
remove unwanted files
james-bruten-mo 60a9c0f
revert changes
james-bruten-mo 24fa953
Merge branch 'main' into release_tasks_port_fork
james-bruten-mo 925e20e
review comments
james-bruten-mo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| .. _shared_accounts: | ||
|
|
||
| Trunk and Shared Accounts Permissions | ||
| ===================================== | ||
|
|
||
| .. warning:: | ||
|
|
||
| Incorrectly editing the svnperms.conf file can break all access to a repo | ||
|
|
||
| To update fcm repositories trunk access list (using UM as an example), | ||
|
|
||
| * First checkout the top level of the repo, | ||
|
|
||
| .. code-block:: | ||
|
|
||
| fcm co --depth=files https://code.metoffice.gov.uk/svn/um | ||
|
|
||
| * Move into the working copy and make the required changes in the ``svnperms.conf`` file. | ||
| * Commit the change. | ||
|
|
||
| The above process needs doing for all of, | ||
|
|
||
| * UM | ||
| * LFRic Apps | ||
| * Jules | ||
| * UKCA | ||
| * Casim | ||
| * Shumlib | ||
| * MOCI | ||
|
|
||
| Modify SSD Team Github Permissions: | ||
|
|
||
| * https://github.com/orgs/jules-lsm/teams/system-managers | ||
| * https://github.com/orgs/MetOffice/teams/ssdteam | ||
|
|
||
| Review account permissions in Active Directory for the following Shared Users: | ||
|
|
||
| * umadmin | ||
| * umtest | ||
| * julesadmin | ||
| * lfricadmin | ||
| * spackadmin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| .. _standard_suites: | ||
|
|
||
| Standard Suites | ||
| =============== | ||
|
|
||
| UM Standard Suites | ||
| ------------------ | ||
|
|
||
| For the UM the following Suites must be updated: | ||
|
|
||
| * UM Azspice - `u-aa003 <https://code.metoffice.gov.uk/trac/roses-u/browser/a/a/0/0/3/trunk>`_ | ||
| * UM EX1A - `u-ci752 <https://code.metoffice.gov.uk/trac/roses-u/browser/c/i/7/5/2/trunk>`_ | ||
| * SCM - `u-aa741 <https://code.metoffice.gov.uk/trac/roses-u/browser/a/a/7/4/1/trunk>`_ | ||
| * CreateBC - `u-aa258 <https://code.metoffice.gov.uk/trac/roses-u/browser/a/a/2/5/8/trunk>`_ | ||
|
|
||
| First get a copy of the UM meta trunk, ``fcm co fcm:um_meta.x_tr /path/to/meta/trunk``. Similarly, get a copy of the Jules at the most recent release. Then upgrade each suite by doing the following, | ||
|
r-sharp marked this conversation as resolved.
Outdated
|
||
|
|
||
| * Checkout the suite. ``rosie checkout u-xxNNN`` will put a copy in ``~/roses``. | ||
| * Check whether the ``access-list`` in the ``rose-suite.conf`` needs updating - if you are not on it, ask someone to add you now and update your copy once done. | ||
| * Move into the suite and edit the ``rose-suite.conf`` file, | ||
|
|
||
| * If it has a ``VN`` setting, update it to the new version. | ||
| * If it has a ``prebuild`` path, update that now. If there are prebuilds, check the ``flow.cylc`` for any prebuild overrides. These exist particularly on the EXs. | ||
|
r-sharp marked this conversation as resolved.
Outdated
|
||
|
|
||
| * Validate the existing apps by running, | ||
|
|
||
| .. code-block:: | ||
|
|
||
| rose macro --fix -C app/APP | ||
|
|
||
| where ``APP`` should be replaced by each available app in turn. It should report that 0 changes were made. | ||
| * Now upgrade the apps to the new version, using the metadata trunk checked out earlier. Again, replace ``APP`` with each app in turn. This will prompt you to confirm while running. | ||
|
|
||
| .. code-block:: | ||
|
|
||
| rose app-upgrade -C app/APP -M /path/to/the/meta/trunk vnX.Y | ||
|
|
||
| * Finally run the validator macros. If everything is fine the command will do nothing, however the SCM suite will raise some warnings about Openmp and "global rows" - these can be ignored. | ||
|
r-sharp marked this conversation as resolved.
Outdated
|
||
|
|
||
| .. code-block:: | ||
|
|
||
| rose macro metomi.rose.macros.DefaultValidators -M /path/to/the/meta/trunk:/path/to/the/jules/hot/rose-meta | ||
|
|
||
| * Check that the changes look sensible and then run the suite, | ||
|
|
||
| .. code-block:: | ||
|
|
||
| fcm diff -g | ||
| cylc vip | ||
|
|
||
| * Once the suite has succeeded, commit the changes with suitable message and note the revision. Then tag the trunk and commit, | ||
|
r-sharp marked this conversation as resolved.
Outdated
|
||
|
|
||
| .. code-block:: | ||
|
|
||
| fcm pe fcm:revision . | ||
| fcm ci | ||
|
|
||
|
|
||
| LFRic Apps Standard Suites | ||
| -------------------------- | ||
|
|
||
| For LFRic Apps the following Suites must be updated: | ||
|
|
||
| * LFRic Apps Azspice - `u-dn674 <https://code.metoffice.gov.uk/trac/roses-u/browser/d/n/6/7/4/trunk>`_ | ||
| * LFRic Apps EX1A - `u-dn704 <https://code.metoffice.gov.uk/trac/roses-u/browser/d/n/7/0/4/trunk>`_ | ||
|
|
||
|
|
||
| For each suite, do the following: | ||
|
|
||
| * Get a copy of each of these suites and move into the working copy. | ||
|
|
||
| .. code-block:: | ||
|
|
||
| rosie co u-dn704 | ||
| cd ~/roses/u-dn704 | ||
|
|
||
| * In ``rose-suite.conf`` update the version number | ||
| * Upgrade the metadata for the mesh and lfric_atm apps | ||
|
|
||
| .. code-block:: | ||
|
|
||
|
|
||
| rose app-upgrade -a -y -C app/lfric_atm vnX.Y | ||
| rose app-upgrade -a -y -C app/mesh vnX.Y | ||
|
|
||
| * Check the modules loaded in the ``flow.cylc`` for any changes vs. the Apps trunk. | ||
|
|
||
| * See ``rose-stem/site/meto/common/suite_config_PLATFORM.cylc`` | ||
| * The lfric software stack moves more quickly than the UM, so it is more likely these have changed. | ||
|
|
||
| * Test - ``cylc vip`` | ||
| * Commit - ``fcm ci`` | ||
| * Tag - ``fcm pe fcm:revision .`` and then commit the tag | ||
|
r-sharp marked this conversation as resolved.
Outdated
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| .. _wiki_pages: | ||
|
|
||
| Standard Jobs and Wiki Pages | ||
| ============================ | ||
|
|
||
| Standard Jobs Page | ||
| ------------------ | ||
|
|
||
| This involves creating a new `Standard Jobs <https://code.metoffice.gov.uk/trac/um/wiki/StandardJobs>`_ for the new release. First update the index page with the new release, then copy the previous release page to the new one, deleting the jobs table within. Check through for all references to the previous release, updating them. Also update the links to the resources pages - we will create these later. Complete a review of the rest of the standard jobs page, updating anything that requires it. | ||
|
|
||
| Checkout a copy of the UM trunk at release and then run the following command to create the new standard jobs table, | ||
|
|
||
| .. code-block:: | ||
|
|
||
| ./admin/create_stdjobs.py . >> output.txt | ||
|
|
||
| Copy the output to the new page. | ||
|
|
||
| We also include resource tables used by the suite at release - the links to these pages should have been updated earlier. The resources tables can be generated by running, | ||
|
|
||
| .. code-block:: | ||
|
|
||
| ./admin/rose-stem/produce_resources.py /path/to/cylc-run_suite_directory/ | ||
|
|
||
| This requires a cylc-run directory of the ``all`` group (or individual ones for each platform). Usually the nightly testing from ``umtest`` can be used. | ||
|
|
||
|
|
||
| Wiki Pages | ||
| ---------- | ||
|
|
||
| Review and update the following pages, modifying version numbers as required: | ||
|
|
||
| * Page Templates | ||
|
|
||
| * For all of CR, SR and Ticket Summary | ||
| * For all of UM, Jules, UKCA, LFRic Apps | ||
|
|
||
| * `Bit Comparison Table <https://code.metoffice.gov.uk/trac/um/wiki/LoseBitComparison>`_ - This requires a new page creating | ||
| * `Past Releases <https://code.metoffice.gov.uk/trac/um/wiki/PastReleases>`_ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.