kubevirt: Avoid running CI tests when it is not necessary

In kubevirt/kubevirt we have a pretty massive CI system.

Currently, the CI system executes many tests on each PR, even in cases when it is not necessary. For example, when changing:

  • Comments
  • Non-code files (e.g. .md files)
  • A commit message

Our CI often suffers from being overloaded, causing lanes to be flakie and hurts our overall project. IMHO, we should find a way to avoid running CI, or at least reduce the number of lanes that are being run in unnecessary scenarios.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 22 (22 by maintainers)

Most upvoted comments

i meant the issue (but i will update the PR) can you please update the issue with ref to the PR for the specific bullet ? only you have edit permissions

Sure. I will update the issue if there are no objections

There is this issue, we can just update the PR desc with the ref to the PR on the specific bullet wdyt ?

Since I see that indeed no one can come up with better solutions, I’m OK with getting this in.

However, please @oshoval create an issue to track the missing parts and to remind us to keep investigating this in the future.

@lyarwood @dhiller @brianmcarey - any objections?

There is a need to define some goals to this issue, otherwise it becomes hard to threat it.

Latest work done in this direction encountered resistance here.

To raise awareness and start a deeper discussion on this matter, perhaps a design proposal can be started, describing there all options with possible PoC and work plans.