Allow some configuration of testing-farm jobs based on labels #542
Labels
No labels
area/installability
area/jenkins
area/rpmdeplint
area/rpminspect
area/STI
area/STI-compat
area/Testing Farm
area/tmt
area/Zuul CI
blocked
bug
discussion
feature
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Type
Help
Type
Incident
UX
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Status/Blocked
Status/Discuss
Type
Bug
Type
Feature
Type
Task
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ci/tickets#542
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea is to check for the presence of some labels on the PR and forward their presence via tmt context.
The original issue came from tests/ruby where it is trying to be efficient with the test being run, but that may not be desired every time. An alternative design would be to check for the following pre-defined labels:
label: skip-tests: do not run any testslabel: modified-tests: run all plans, tests and define contextrun-only: modifiedlabel: full-tests: run all plans, tests and define contestrun-only: fulland the plan would simplify to:
Implementation on packit-service would be pretty straighforward, but not sure if we can do it for pagure backend. At the very least we will be able to do it after the Forgejo migration
Packit has some kind of labeling already supported:
But not sure if this helps here...
Ah, right should also mention that this is blocked by Packit as Fedora CI. No way are we going to this in the Jenkins interface. And indeed the idea would be to make use of the built-in support in packit. Just not sure if we can already do this with Pagure or are we further blocked by Forgejo migration.
FYI: Here is the tmt's issue ticket to add a feature to return exit status 0 when no tests are slected.
https://github.com/teemtee/tmt/issues/4550