mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
The evaluator and classifier tests read the kinds' schemas from packages/system/<kind>-rd/cozyrds/<kind>.yaml and the instance type catalog from the kubevirt-instancetypes templates. That ties unit tests of CEL semantics, quantity arithmetic and classification to how the charts lay out their sources, so a chart change unrelated to the evaluator could fail them. Give them schemas cut down to the keys the declarations read and instance types in the shapes the classifier has to tell apart. The expected figures are unchanged. The exact product past int64, pinned until now only through the shipped vm-instance declaration, gets a case of its own. The shipped-catalog reader moves next to its last user, the shipped-declaration test. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>