Add a "skipVerify" attribute to version #12
Conversation
…ld fail the kudo package verify can be added to the index Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
3b95c3e to
cdd9551
Compare
|
The verification should be mandatory, packages in |
Well, yes - I agree that new operators should pass the package verify with the then current KUDO version. The problem I see is this: Operator V1 release => uses KUDO 0.10, passed validation with KUDO 0.10 Now the repository needs to be rebuild, for whatever reason. OperatorV1 => fails The repository can not be rebuild. So, we could either:
sooo:
This issue came up because of kudobuilder/operators-index#11 and kudobuilder/operators-index#10 But from what I can see, we only the the package verify in the Continuous Integration step, not in the Continuous Deployment? So in these cases we could ignore the failing tests and merge them, and the index would be rebuild correctly? |
|
Oh, goooood point! |
|
Let's close this. With kudobuilder/operators-index#12 it is possible to distinguish between validation of packages and if they could be added to a repository. This allows us to override the validation step for old versions. Bundling multiple or even all versions of KUDO to be able to verify against them will cause more trouble, let's use this simple workaround. |
This will allow us to add old versions to the index which would fail the kudo package verify.
We should discuss this though - maybe there's a better option?
Related to #11