Wenkai Yin(尹文开)
f3295ccf08
Merge pull request #7666 from reasonerjt/bumpup-to-go1.22-new
...
Bump up to go1.22
2024-04-15 15:37:32 +08:00
Daniel Jiang
1b3fe95980
Bump up golang to v1.22
...
This commit bumps up the golang for building and testing velero to v1.22
It also updates controller-gen to v0.14.0 to fix an issue under new
versino of go.
More details see https://github.com/golang/go/issues/65637
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2024-04-14 20:15:51 +08:00
Xun Jiang
d3cc42d577
Change the timeout handling code due to third-party package change
...
The wait error changed from `timed out waiting for the condition`
to `context deadline exceeded`.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-13 23:27:02 +08:00
Xun Jiang
30995bcbd2
Add more UT for the CSI plugins.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-13 23:22:43 +08:00
Xun Jiang/Bruce Jiang
c888f51817
Merge pull request #7662 from Lyndon-Li/issue-fix-7648
...
Issue fix 7648: avoid snapshot leak on expose failure
2024-04-12 17:28:27 +08:00
Xun Jiang
59eeec268b
Update CSI document. Remove the CSI plugin verifier.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-12 13:51:20 +08:00
Wenkai Yin(尹文开)
3c377bc3ec
Merge pull request #7630 from reasonerjt/restore-vol-info
...
Track and persist restore volume info
2024-04-12 11:24:05 +08:00
Lyndon-Li
dcf760d5f1
issue 7648:avoid snapshot leak on expose failure
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-12 10:41:39 +08:00
Lyndon-Li
61061d5c83
issue 7648: merge main
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-12 10:18:02 +08:00
Lyndon-Li
bf03938dd2
issue 7648: don't leak snapshot on failure
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-11 19:23:57 +08:00
Xun Jiang/Bruce Jiang
f25c154709
Merge pull request #7569 from ywk253100/240326_namespace
...
Check the existence of the namespaces provided in the "--include-namespaces" option
2024-04-11 19:00:33 +08:00
Daniel Jiang
0a280e5786
Track and persist restore volume info
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2024-04-11 17:32:18 +08:00
Ming Qiu
89967c1cb6
Add data download parallel files download configuration
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-04-11 02:54:22 +00:00
Xun Jiang/Bruce Jiang
6ef38365ea
Merge pull request #7609 from blackpiglet/merge_csi
...
Merge CSI plugin code.
2024-04-11 10:38:58 +08:00
lyndon-li
218aa8655f
Merge pull request #7523 from 27149chen/fix-for-resource-conversion
...
do not skip unknown gvr at the beginning and get new gr when kind is changed
2024-04-11 10:31:14 +08:00
Xun Jiang/Bruce Jiang
8df4e6aded
Merge branch 'main' into merge_csi
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2024-04-10 18:54:16 +08:00
Xun Jiang/Bruce Jiang
7935236db0
Merge pull request #7584 from mmorel-35/json-patch/v5
...
build(deps): bump json-patch to v5.8.0
2024-04-10 18:40:16 +08:00
clonefetch
474dc824e7
chore: fix function names in comment ( #7633 )
...
Signed-off-by: clonefetch <c0217@outlook.com >
2024-04-10 15:15:29 +05:30
Xun Jiang
31e140919a
Merge CSI plugin code.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-10 14:53:29 +08:00
Wenkai Yin(尹文开)
91774af54d
Empty the list before next round of listing
...
Empty the list before next round of listing
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-04-08 18:57:29 +08:00
Xun Jiang/Bruce Jiang
c2d267d894
Merge pull request #7611 from qiuming-best/datamover-cancel
...
Fix cancel bug && adjust StartTimestamp for data mover
2024-04-03 10:49:06 +08:00
Ming Qiu
a2c1a5a113
Fix cancel bug && adjust StartTimestamp for data mover
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-04-03 02:21:26 +00:00
Lyndon-Li
711609e00e
issue 7583: set backupName optional for Restore CRD
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-03 10:00:55 +08:00
qiuming
3465e8cddf
Merge pull request #7558 from qiuming-best/uploader-fast-fail
...
Fix snapshot leak for backup
2024-04-01 15:24:34 +08:00
lyndon-li
f24eabd8b8
Merge pull request #7603 from Lyndon-Li/fix-ut-fail
...
Fix ut fail
2024-04-01 13:55:16 +08:00
Lyndon-Li
90e9efc544
fix ut fail
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-01 13:28:37 +08:00
Xun Jiang/Bruce Jiang
58effeb879
Merge pull request #7566 from kaovilai/biaOperationErrorsPluginName
...
Add confirm flag to velero plugin add
2024-04-01 12:47:53 +08:00
Xun Jiang/Bruce Jiang
75962653c5
Merge pull request #7554 from blackpiglet/7357_fix
...
Support update the backup VolumeInfos by the Async ops result.
2024-04-01 11:05:33 +08:00
Ming Qiu
3d5282e12b
Fix snapshot leak for backup
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-04-01 03:02:24 +00:00
Matthieu MOREL
a9085033b2
build(deps): bump json-patch to v5.8.0
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 14:08:33 +00:00
Matthieu MOREL
3d6dab0708
lint(ginkgolinter): expect (not)to HaveOccurred ( #7565 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 10:05:48 -04:00
lyndon-li
67bd694d1b
Merge pull request #7437 from Lyndon-Li/issue-fix-7036
...
Issue 7036: node selection for data mover backup
2024-03-29 17:04:40 +08:00
lyndon-li
01ef3a3e62
Merge pull request #7589 from Lyndon-Li/kopia-index-compaction-during-maintenance
...
Kopia: index compaction during maintenance
2024-03-29 15:53:57 +08:00
Xun Jiang/Bruce Jiang
d982058d3b
Merge pull request #7588 from ywk253100/240329_ut
...
Improve the UT code coverage for pkg/podvolume
2024-03-29 15:36:54 +08:00
Lyndon-Li
18976c0a62
kopia: index compaction during maintenance
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-03-29 15:24:47 +08:00
qiuming
beb221b15c
Merge pull request #7587 from blackpiglet/move_actions
...
Add actions directory for backup and restore.
2024-03-29 15:10:38 +08:00
Wenkai Yin(尹文开)
039fc20b65
Improve the UT code coverage for pkg/podvolume
...
Improve the UT code coverage for pkg/podvolume
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-29 15:02:30 +08:00
Xun Jiang
5462035469
Delete the unneeded pvRestorer action in
...
handleSkippedPVHasRetainPolicy
According to comment, calling executePVAction aims to reset PV's
claimRef, but the reset logic was moved into resetVolumeBindingInfo
since release-1.4.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-29 14:12:12 +08:00
Xun Jiang
08c93b4145
Add actions directory for backup and restore.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-29 13:21:50 +08:00
lyndon-li
81da8e67c7
Merge pull request #7585 from Lyndon-Li/issue-fix-7535
...
Issue fix 7535
2024-03-29 10:48:48 +08:00
Lyndon-Li
9b74643b3a
Merge branch 'main' into issue-fix-7535
2024-03-29 10:28:53 +08:00
Lyndon-Li
070e99da3d
issue 7535: don't exclude resources in MustHave list during restore
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-03-29 10:14:54 +08:00
Wenkai Yin(尹文开)
8d10b68eda
Improve the concurrency for PVBs in different pods
...
Improve the concurrency for PVBs in different pods
Fixes #6676
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-29 09:58:50 +08:00
Xun Jiang
b06d7a467f
Support update the backup VolumeInfos by the Async ops result.
...
1. Add PutBackupVolumeInfos method.
2. Add CompletionTimestamp in VolumeInfo.
3. Add Size in SnapshotDataMovementInfo.
4. Update CompletionTimpstmap, SnapshotHandle, RetainedSnapshot
and Size in VolumeInfo on DataUpload Operation completes.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-28 19:52:44 +08:00
Lyndon-Li
65e8ddb89b
Merge branch 'main' into issue-fix-7535
2024-03-28 18:37:39 +08:00
Xun Jiang/Bruce Jiang
d640cc16ab
Merge pull request #7573 from mmorel-35/golangci-lint-exclude-rules
...
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
2024-03-28 16:39:40 +08:00
qiuming
e80bdcf2e2
Merge pull request #7451 from qiuming-best/maintenance-job
...
Add repository maintenance job
2024-03-28 14:47:15 +08:00
Ming Qiu
8d63c76c92
Add maintenance job
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-03-28 03:22:06 +00:00
Matthieu MOREL
ef04ef6361
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 20:17:34 +00:00
Matthieu MOREL
3c704ba1b1
linter(testifylint): use Len or Empty for arrays testing ( #7555 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 14:16:58 -04:00