Skip to content

Commit 8a53658

Browse files
committed
Extract shared discover plugin logic into the step
1 parent ca407e7 commit 8a53658

6 files changed

Lines changed: 428 additions & 383 deletions

File tree

docs/releases/pending/4391.fmf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
description: |
2+
The :ref:`/plugins/discover/shell` discover plugin now supports
3+
the ``path`` and ``url-content-type`` keys, which are handled
4+
in the same way as in the :ref:`/plugins/discover/fmf` discover
5+
plugin. The plugin now also correctly installs test dependencies
6+
specified in the ``require`` and ``recommend`` keys.

tmt/schemas/discover/shell.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,19 @@ properties:
2626
$ref: "/schemas/core#/definitions/summary"
2727

2828
url:
29+
$ref: "/schemas/common#/definitions/fmf_id/properties/url"
30+
31+
url-content-type:
2932
type: string
33+
enum:
34+
- git
35+
- archive
3036

3137
ref:
32-
type: string
38+
$ref: "/schemas/common#/definitions/fmf_id/properties/ref"
39+
40+
path:
41+
$ref: "/schemas/common#/definitions/fmf_id/properties/path"
3342

3443
dist-git-source:
3544
$ref: "/schemas/common#/definitions/dist-git-source"

0 commit comments

Comments
 (0)