kube-bench icon indicating copy to clipboard operation
kube-bench copied to clipboard

Add constraints to groups and test_item.

Open yoavrotems opened this issue 4 years ago • 3 comments

Add the constraints functionality as we have in bench-common, to a single test in "test_item" and the entire group as well.

yoavrotems avatar Aug 04 '20 08:08 yoavrotems

@yoavrotems can you guide me how to implement this? I want to contribute. Thanks.

avats-dev avatar Oct 04 '20 12:10 avats-dev

@avats-dev I can even do better and show you how we do it in different repos Group constraints in bench-common Original PR which has constraints per test

And in a more general way, the constraints is meant to select the correct test between multiple option, for example in Linux-bench we use it to run the same test on multiple distributions

yoavrotems avatar Oct 05 '20 07:10 yoavrotems

Thanks @yoavrotems , examples are always better :smile: . I'll get started on this and get back to you if I need any help.

avats-dev avatar Oct 05 '20 21:10 avats-dev