Commit a7c09d4
Ensure task list is single element, introduce upgrade task (#252)
* implement 3 way merge without kio.Pipeline
* introduce upgrade task in porch
* ensure task list has one element, porchctl upgrade
* fix upgrade/update typo
* fix lint
* adapt to new cli e2e
* fix cli upgrade, add pack gcr prefix override to custom_test.go
* improve coverage and duplicate code
* additional tests for upgrade task
* generictaskhandler.go coverage
* address some review comments
* SOURCE_PACKAGE -> SOURCE_PACKAGE_REVISION
* remove tests for the removed findUpgradeTask
* rename concurrent edit test repo
* pv controller coverage and fixes
* update porchctl help text
* re-add discovery to porchctl rpkg upgrade, expand e2e test for it, change Revision2Str to include v prefix
* fix addMutator
* fix addMutator 2
* copy and adapt TestDiscoverUpdates to Upgrade
* rewrite most of unit test for upgrade cli
* only pass CRDs to SchemasFromCrdKubeObjects
* Remove unused patch diff generation
* Remove all deprecated task types from porch
* address review comments
* update how task types work around commit messages
* fix infinite render task addition
* fix unit test
* revert Revision2Str changes
* update TestUpdateResourcesEmptyPatch
* fix task list for db cache
---------
Co-authored-by: Gyorgy Dániel <daniel.gyorgy@nokia.com>1 parent b7bb9c3 commit a7c09d4
85 files changed
Lines changed: 4014 additions & 3971 deletions
File tree
- api
- generated/openapi
- porch
- v1alpha1
- controllers
- packagevariantsets/config/rbac
- packagevariants/pkg/controllers/packagevariant
- internal/kpt/util
- merge
- update
- pkg
- cache/dbcache
- cli/commands/rpkg
- clone
- docs
- update
- upgrade
- engine
- externalrepo
- fake
- git
- kpt
- registry/porch
- task
- util/merge3
- testdata
- infer-crd
- one-key-crd
- simple-conflict
- simple-subpackage-conflict
- test/e2e
- cli
- testdata
- rpkg-push
- rpkg-update-alt
- rpkg-update
- rpkg-upgrade
- third_party/GoogleContainerTools/kpt-functions-sdk/go/fn
- internal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
369 | 399 | | |
370 | 400 | | |
371 | 401 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
124 | 119 | | |
125 | 120 | | |
126 | 121 | | |
| |||
167 | 162 | | |
168 | 163 | | |
169 | 164 | | |
170 | | - | |
171 | | - | |
172 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
173 | 187 | | |
174 | 188 | | |
175 | 189 | | |
| |||
179 | 193 | | |
180 | 194 | | |
181 | 195 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | 196 | | |
188 | 197 | | |
189 | 198 | | |
| |||
262 | 271 | | |
263 | 272 | | |
264 | 273 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | 274 | | |
286 | 275 | | |
287 | 276 | | |
| |||
0 commit comments