Skip machine tests if they don't need to be run#22620
Skip machine tests if they don't need to be run#22620openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
Conversation
Followup to containers#13936 : add an exclusion to localmachine tests so we can avoid running those on test- or doc-only PRs. Reason: containers#22551, the machine-start-timeout flake, is causing hours of wasted time. Signed-off-by: Ed Santiago <santiago@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Luap99
left a comment
There was a problem hiding this comment.
LGTM things like this are on my TODO list for the CI work.
You don't have to answer this here right now but I like to understand why this was implemented like this and not via skip/only_if in cirrus.yml. IMO this currently violates POLA as users wrongly assume the tests have been run even when they are not.
|
Oh, huh. I thought it had been explained in #13936, but no. Basically: yes, in an ideal world this would be done in Side note: Cirrus apparently has some sort of other scripting language, starlark, that can replace |
I have not looked deeply into it but for _bail_if_test_can_be_skipped and system tests Unless I am missing some conditional this does not look to complex to me |
|
That's a good first approximation but it neglects the fact that most (all?) |
|
LGTM |
|
/lgtm |
Followup to #13936 : add an exclusion to localmachine tests
so we can avoid running those on test- or doc-only PRs.
Reason: #22551, the machine-start-timeout flake, is causing
hours of wasted time.
Signed-off-by: Ed Santiago santiago@redhat.com