Skip to content

Commit

Permalink
Extended tmt-plan to run local tmt tests from within the api machine.…
Browse files Browse the repository at this point in the history
… Move tmt example test to the examples folder

Signed-off-by: Luigi Pellecchia <[email protected]>
  • Loading branch information
Luigi Pellecchia committed Jan 23, 2025
1 parent de6fc57 commit 4d98d02
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion api/tmt-plan.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,20 @@ discover: []

adjust:
- discover+:
- name: General purpose discover
- name: General purpose discover from remote repo
how: fmf
url: $basil_test_repo_url
ref: $basil_test_repo_ref
test:
- $basil_test_relative_path
when: plan_type == remote or plan_type is not defined
- discover+:
- name: General purpose discover from api machine
how: fmf
path: $basil_test_repo_url
test:
- $basil_test_relative_path
when: plan_type == local

execute:
how: tmt
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 4d98d02

Please sign in to comment.