-
Notifications
You must be signed in to change notification settings - Fork 15
kola: don't run reprovisioning tests if only a subset is requested #123
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
Conversation
I'm a bit concerned about the number of knobs we have in here already. I feel like we're re-implementing a lot of things that are just baked into kola directly. Is this causing a failure or just undesirable? Before #118 were those upstreams running the |
Some upstreams just want to run a subset of tests. coreos#118 split out the reprovisioning tests, but it then changed the semantics for users that only want to run a specific pattern. Now, those CIs are always running reprovisioning tests even though they're not interested.
another way to say this: I think the direction we should go is to have a mode of I did something similar over in 4f1e7f0?diff=split&w=1 so my strawman here is that if a user doesn't want basic scenarios or they want reprovision tests separated out they pass |
afa7dfe
to
34d3391
Compare
Yeah, there's a lot here that should be lowered into kola proper. I think this all would be simpler if Anyway, I've reworked this now so it switches on |
Not sure. I think that'd be making this function even more branch-y. :) I think having a default set of tests to run is good, and most upstreams do rely on that. We just need to give the flexibility when they need to slightly tweak that set. We don't want any tweaking to require having to re-encode everything else this function does they do still want. |
Since I've been in this code for the past day I'm trying to think about how this meshes with the re-work I've been doing in #120. I just added a bit on top.. What do you think about this logic: https://github.com/dustymabe/coreos-ci-lib/blob/dusty-example/vars/kola.groovy#L78-L91 |
Yeah, I think that sounds good to me! |
this is now part of one of the commits in https://github.com/coreos/coreos-ci-lib/pull/120/files |
Closing in favour of #120. |
Some upstreams just want to run a subset of tests. #118 split out the
reprovisioning tests, but it then changed the semantics for users that
only want to run a specific pattern. Now, those CIs are always running
reprovisioning tests even though they're not interested.