gardener / test-infra

Test machinery for orchestration of integration/e2e/smoke style tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support more version patterns in flavor configs

dguendisch opened this issue · comments

Today we support things like

kubernetes:
    pattern: "latest"

(see https://github.com/gardener/test-infra/blob/master/docs/testrunner/README.md#shoot-flavor-configuration)

Sometimes we want to express a flavor that should select one minor version older than the latest one, something like latest - 0.1.
If arithmetic is too complex, we could also simply introduce a few fixed named patterns like oneMinorBeforeLatest, twoMinorBeforeLatest, ... (as we usually anyway only support a limited set of minor K8s versions at a time).