Commit d97e721
committed
Handle unpacking non kitops ModelPacks
If Kit generates a model-spec artifact, it will include the Kitfile with
the manifest. However, if the artifact was generated by another tool, we
can still try to unpack it based on model-spec metadata annotations
(e.g. file names). This is more error-prone, so a warning is logged in
this case.
Signed-off-by: Angel Misevski <[email protected]>1 parent ac59b15 commit d97e721
2 files changed
+19
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
86 | 87 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
92 | 91 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
230 | 232 | | |
231 | | - | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
0 commit comments