Closed phracek closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.36%. Comparing base (
56b033b
) to head (9f61ef1
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
[test]
[test]
One question, tmt allows for providing several tags with the filter like tmt plans ls --filter "tag:mssql,general,postfix"
.
Will that work with tmt_plan_filter
too? I guess if I set tmt_plan_filter: "tag:mssql,general,postfix"
.
One question, tmt allows for providing several tags with the filter like
tmt plans ls --filter "tag:mssql,general,postfix"
. Will that work withtmt_plan_filter
too? I guess if I settmt_plan_filter: "tag:mssql,general,postfix"
.
@spetrosi Well as an input we get string, so If you enter string, like you want, we send it to Testing Farm. As soon as this pull request is merged into main, can you please test it and provide a feedback. Thanks
@spetrosi Can you please past link to your plans for an inspiration?
They are not ready yet, so far I am using a single plan in https://github.com/linux-system-roles/tft-tests/tree/main/plans. For testing how tmt filters, I copied this plan and applied different tags to each copy. BTW tmt also supports setting several tags which is good.
@phracek I am running TFaGA with tmt_plan_filter: "tag:general,postfix"
, the workflow returns a warning:
Warning: Unexpected input(s) 'tmt_plan_filter', valid inputs are ['api_key', 'api_url', 'tf_scope', 'git_url', 'git_ref', 'tmt_plan_regex', 'tmt_context', 'tmt_path', 'compose', 'arch', 'variables', 'secrets', 'tmt_hardware', 'copr', 'copr_artifacts', 'github_token', 'create_issue_comment', 'pull_request_status_name', 'update_pull_request_status', 'environment_settings', 'pipeline_settings', 'create_github_summary', 'timeout', 'repo_owner', 'repo_name', 'pr_number', 'commit_sha'] It's in https://github.com/spetrosi/postfix/actions/runs/10561612203/job/29257740325
Add plan-filter into TFaGA
Closes: #222