Skip to content

Commit

Permalink
Nightly retrigger (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-bruten-mo committed Apr 17, 2024
1 parent 32d0c60 commit d6a93a3
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions source/Reviewers/nightlytesting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,28 @@ To update and install at meto:

.. code-block:: bash
python3 generate_test_suite_cron.py -c ~/nightly_testing_configs.yaml --install
python3 generate_test_suite_cron.py -c ~/Crontabs/nightly_testing_configs.yaml --install
Retriggering Nightlies
----------------------

To retrigger nightlies open a cylc8 gui by:
TLDR Instructions
^^^^^^^^^^^^^^^^^

.. code-block:: bash
# As the testing user
rs8
# Wait for retrigger script to run - answer questions as required
cylc_url
# Select the 2nd url that appears
Full Explanation
^^^^^^^^^^^^^^^^

To retrigger the nightlies a script is available at ``~frum/SimSys_Scripts/nightly_testing/retrigger_nightlies.py``. To run this use the alias ``rs8`` which will load the required modules and set the cylc version to 8. The script will detect any suites from the previous night with failed tasks and ask whether to retrigger them. It will restart requested suites, sleep, and then individually retrigger any failed tasks. Running ``rs8 PATTERN`` will only launch suites which match that pattern (no wildcard matching is currently setup), eg. ``rs8 lfric_apps`` will restart suites with "lfric_apps" in their name.

To interact with the nightlies open a cylc8 gui by:

.. code-block:: bash
Expand All @@ -65,7 +81,7 @@ To retrigger nightlies open a cylc8 gui by:
or the meto user has an alias defined as ``cylc_url``. Copy the 2nd url that appears into your browser.

Select the suite on the left and then click the play triangle at the top. This can also be done on the command line by:
Suites can also be triggered without using the script. In the gui, select the suite on the left and then click the play triangle at the top. This can also be done on the command line by:

.. code-block:: bash
Expand Down

0 comments on commit d6a93a3

Please sign in to comment.