Skip to content

Commit

Permalink
squash: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed Jan 13, 2025
1 parent 7a4c0a1 commit cfa5e89
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ support for submitting jobs on behalf of a group through the
``beaker-job-group`` key. The submitting user must be a member of
the given job group.

The ``note`` field of tmt :ref:`/spec/plans/results` changes from
a string to a list of strings, to better accommodate multiple notes.


tmt-1.40.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
11 changes: 7 additions & 4 deletions spec/plans/results.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ description: |

# List of strings, optional comments to report with the result.
note:
- "Things were great."
- Things were great.

# List of strings, paths to log files.
log:
Expand Down Expand Up @@ -91,7 +91,7 @@ description: |

# List of strings, optional comments to report with the result.
note:
- "Things were great."
- Things were great.

# List of strings, paths to logs files.
log:
Expand Down Expand Up @@ -130,7 +130,7 @@ description: |

# List of strings, optional comments to report with the result.
note:
- "Things were great."
- Things were great.

# List of strings, paths to log files.
log:
Expand Down Expand Up @@ -259,6 +259,9 @@ description: |
.. versionchanged:: 1.37
original result of test, subtest and check is stored in ``original-result`` key.

.. versionchanged:: 1.41
``note`` field changed from a string to a list of strings.

__ https://github.com/teemtee/tmt/blob/main/tmt/schemas/results.yaml

example:
Expand Down Expand Up @@ -359,7 +362,7 @@ example:
"result": "pass",
"log": ["pass_log"],
"duration": "00:11:22",
"note": "good result"
"note": ["good result"]
}
]

Expand Down

0 comments on commit cfa5e89

Please sign in to comment.