Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ability to specify plan-filter #222

Closed
spetrosi opened this issue Aug 7, 2024 · 2 comments · Fixed by #223 or #225
Closed

Provide ability to specify plan-filter #222

spetrosi opened this issue Aug 7, 2024 · 2 comments · Fixed by #223 or #225
Assignees
Labels
type: feature New feature or request

Comments

@spetrosi
Copy link
Contributor

spetrosi commented Aug 7, 2024

Type of issue

Feature Request

Description

Testing farm and tmt supports specifying plan-filter.
The role supports only tmt_plan_regex, which is different per description.
I need support for plan-filter to filter plans by tags.

Input Name Description Default value
tmt_plan_filter A filter used to select tmt plans ''

Possible values: "tag:mytest"

Reproducer

No response

@github-actions github-actions bot added the type: feature New feature or request label Aug 7, 2024
@phracek phracek self-assigned this Aug 7, 2024
@phracek
Copy link
Member

phracek commented Aug 7, 2024

@spetrosi Thanks for this issue. I will take care of it.

This means, user can select either plan in "plans" directory or "tag:mytest" that is present in the plan directory.
Both of them can be present?

@spetrosi
Copy link
Contributor Author

spetrosi commented Aug 7, 2024

@spetrosi Thanks for this issue. I will take care of it.

This means, user can select either plan in "plans" directory or "tag:mytest" that is present in the plan directory. Both of them can be present?

I am not sure I understoow what you said. Are asking if action must allow for tmt_plan_regex and tmt_plan_filter to be used together?
I guess if API allow for this, yes.
I.e. in a scenario where I store plans in subdirectories of /plans dir, and those plans have the same tags, I might want to select plans tagged with desired tags from a single directory only.

phracek added a commit that referenced this issue Aug 8, 2024
Add plan-filter into TFaGA

Closes: #222

Signed-off-by: Petr "Stone" Hracek <[email protected]>
phracek added a commit that referenced this issue Aug 8, 2024
Add plan-filter into TFaGA

Closes: #222

Signed-off-by: Petr "Stone" Hracek <[email protected]>
@jamacku jamacku linked a pull request Aug 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
2 participants