Shubham Pampattiwar
a73a150d98
Accommodate VGS workflows in PVC CSI plugin
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add unit tests for getVSForPVC func
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Use v1beta1 instead of v1 v1alpha1
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
go mod tidy
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update updateVGSCreatedVS func to use retry on conflict
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update minor fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ut assert
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Address PR feedback
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor updates
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove unsused func and add todo for dep upgrades
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-07-21 11:36:40 -07:00
Priyansh Choudhary and GitHub
ff8a070dd3
Refactor Snapshot Checkpoint in E2E Tests ( #9083 )
...
Run the E2E test on kind / build (push) Failing after 8m19s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 21s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m54s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m25s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m33s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m26s
* Refactor backup volume info retrieval and snapshot checkpoint building in e2e tests
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
log backup volume info retrieval and snapshot checkpoint building
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Add error handling for volume info retrieval in backup tests
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Add error handling for volume info retrieval in backup tests
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Update snapshot checkpoint building to use DefaultKibishiiWorkerCounts
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
---------
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-07-21 20:22:55 +05:30
Wenkai Yin(尹文开) and GitHub
034ce4bde2
Merge pull request #9087 from priyansh17/update-azure-credential-authn
...
Run the E2E test on kind / build (push) Failing after 7m47s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 38s
Implement newAzureCredential function for Azure authentication
2025-07-21 14:14:08 +08:00
Matthieu MOREL and GitHub
e88fbb6fa5
chore: enable exptostd linter ( #9086 )
...
Run the E2E test on kind / build (push) Failing after 7m47s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 39s
Close stale issues and PRs / stale (push) Successful in 20s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m39s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m21s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m28s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m28s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-07-17 17:16:00 -04:00
Priyansh Choudhary
f3ba334892
Implement newAzureCredential function for Azure authentication and refactor credential retrieval
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-07-15 15:20:32 +05:30
Priyansh Choudhary and GitHub
5b29a87702
Add support for image registry proxy in Kibishii installation ( #9063 )
...
Run the E2E test on kind / build (push) Failing after 8m1s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 43s
Close stale issues and PRs / stale (push) Successful in 17s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m54s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m43s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m31s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m25s
* Add support for image registry proxy in Kibishii installation
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-07-14 23:05:14 +08:00
Priyansh Choudhary and GitHub
bd09744b2d
Add provision for labels and annotations in E2E tests. ( #9043 )
...
Run the E2E test on kind / build (push) Failing after 6m44s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 59s
* Add support for pod labels and service account annotations in Velero configuration
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Refactor Velero configuration to use string types for pod labels and service account annotations
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-06-26 21:00:01 -04:00
Xun Jiang/Bruce Jiang and GitHub
ef79887262
Merge branch 'main' into windows_e2e
2025-05-21 10:23:47 +08:00
Xun Jiang
a18fe55585
Support Windows E2E.
...
* Please notice only Kibishii workload support Windows test,
because the other work loads use busybox image, and not support Windows.
* Refactor CreateFileToPod to support Windows.
* Add skip logic for migration test if the version is under 1.16.
* Add main in semver check.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-20 15:58:15 +08:00
Xun Jiang
a6486fbe44
Add velero.io APIs availability check in Velero E2E install function.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-16 14:21:58 +08:00
Xun Jiang
14e1055a9a
Support using image registry proxy in more cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-14 08:47:00 +08:00
Xun Jiang
d3e8e9a9c2
Remove pushing images to GCR.
...
Remove dependency with GCR.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-08 20:42:21 +08:00
Matthieu MOREL and GitHub
c6a420bd3a
chore: define common aliases for k8s packages ( #8672 )
...
Run the E2E test on kind / build (push) Failing after 6m48s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m11s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 47s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 43s
* lchore: define common alias for k8s packages
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-22 06:14:47 -04:00
Xun Jiang
b475124651
Add default bakcup repository configuration for E2E.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-04-09 15:54:52 +08:00
Xun Jiang/Bruce Jiang and GitHub
54907a03fe
E2E support sets the --item-block-worker-count. ( #8836 )
...
Run the E2E test on kind / build (push) Failing after 6m51s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 39s
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-04-08 20:30:51 -04:00
Xun Jiang
6002d56735
Align the E2E upgrade test's CLI and image version.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-03-28 17:12:16 +08:00
Xun Jiang
9d0493c2b5
Bump the migration and upgrade E2E test source version.
...
Add v1.16 related plugin and other image default version.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-03-28 11:41:39 +08:00
Matthieu MOREL and GitHub
6a6a237ba7
Bump golangci-lint from v1.57.2 to v1.64.5 ( #8641 )
...
Run the E2E test on kind / build (push) Failing after 5m43s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
build-image / Build (push) Failing after 8s
Main CI / Build (push) Failing after 33s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-03-04 13:55:29 +05:30
Matthieu MOREL
cbba3bdde7
chore: enable use-any from revive
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-17 07:58:10 +01:00
Matthieu MOREL and GitHub
29a77958d5
fix: dupword on tests
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-10 11:44:06 +01:00
Xun Jiang
9486bd0acb
Skip the deprecation message for the dry-run install CLI JSON output.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-12-24 11:04:23 +08:00
Xun Jiang
8fcb6de323
Refactor the migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-26 11:04:54 +08:00
Xun Jiang
226d50d9cb
Modify the schedule cases.
...
* Modify the OrderResource case's verification code.
* Simplify the Periodical case.
* Simplify the InProgess case.
* Prettify the code.
* Replace math/rand with crypto/rand
* Replace PollUnitl with PollUntilContextTimeout
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-21 15:16:50 +08:00
Xun Jiang
e5354e123b
Modify the StorageClass install and delete code.
...
* Only install and uninstall SC and VSC once for default cluster.
* Install and uninstall SC and VSC for standby cluster on migration case.
* Refactor the StorageClass and VolumeSnapshotClass YAMLs.
* Prettify the e2e_suite_test.go
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-19 11:10:50 +08:00
Xun Jiang
bebea4d278
Modify upgrade and migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-13 23:11:20 +08:00
Xun Jiang
bcb60ed783
Modify other cases to support VKS environment.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-12 23:25:50 +08:00
Xun Jiang
b02fc1da96
E2E supports VKS data mover environment.
...
* Add new flag HAS_VSPHERE_PLUGIN for E2E test.
* Modify the E2E README for the new parameter.
* Add the VolumeSnapshotClass for VKS.
* Modify the plugin install logic.
* Modify the cases to support data mover case in VKS.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-12 23:25:28 +08:00
Xun Jiang
29d84feb10
Refactor the code to get the plugin images for migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-10-30 15:53:44 +08:00
Xun Jiang
e8267abdf9
Make change to support VKS environment.
...
FYI, the TKGm envrionment support is deprecated.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-10-24 17:19:50 +08:00
Xun Jiang
1831c7b2dc
Bump the E2E migration and upgrade Velero and plugin versions for 1.15
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-10-22 14:38:19 +08:00
Xun Jiang
5dcb315b10
Bump v1.13 and 1.14 plugin versions for E2E test.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-23 20:26:39 +08:00
Xun Jiang
1ba78b83bf
Skip uninstall and resource cleanup when fail-fast is enabled.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-23 20:24:14 +08:00
Xun Jiang
291d55f154
Bump the E2E upgrade and migration test version.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-05-17 14:19:06 +08:00
danfeng and GitHub
0b5f10efbe
Merge pull request #7598 from mmorel-35/azure-storage-blob-go
...
Migrate from github.com/Azure/azure-storage-blob-go to github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
2024-05-14 10:34:03 +08:00
Matthieu MOREL
173f704796
golangci-lint(noctx): fix test files
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-10 10:05:28 +00:00
Matthieu MOREL
14e98b89ad
Migrate from github.com/Azure/azure-storage-blob-go to github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-10 09:24:35 +00:00
qiuming and GitHub
b8a48c0ef8
Merge pull request #7691 from qiuming-best/e2e-parallel-upload-download
...
Add E2E test for parallel files upload and download
2024-05-09 15:27:06 +08:00
Ming Qiu
a628cb525f
Add E2E test for parallel files upload and download
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-05-09 03:04:04 +00:00
danfengl
61c4d7b148
Add checkpoint for FS backup deletion test
...
As per PR #7281 , if repository count is more than 1, then snapshots deletion is achieved with a fast way, then we should have more than 1 FS backup repository per backup.
Signed-off-by: danfengl <danfengl@vmware.com >
2024-05-07 07:52:46 +00:00
danfengl
82fc557bd1
Add checkpoint of VSC for data movement migration test
...
1. In data movement scenario, volumesnapshotcontent by Velero backup will be deleted instead of retained in CSI scenaito, so add
a checkpoint for data movement scenario to verify no volumesnapshotcontent left after Velero backup;
2. Fix global context varaible issue, context varaible is not effective due to it's initialized right after the very beginning of
all tests instead of beginning of each test, so if someone script a new E2E test and did not overwrite it in the test body, then it
will fail the test if it was triggerd one hour later;
3. Due to CSI plugin is deprecated, it breaked down migration tests, because v1.13 still needs to install CSI plugin for the test.
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-28 09:47:08 +00:00
danfengl
8a3f2f41e4
Fix 1.14 nightly issues
...
1. Add sleep for native snapshot tests when using test.go interface;
2. Add --confirm for velero plugin add CLI as new feature introduced.
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-23 05:45:40 +00:00
danfengl
a3bd26acd9
Remove CSI plugin in E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-22 07:13:40 +00:00
Matthieu MOREL and GitHub
facfb9552f
migrating to sdk/resourcemanager/**/arm** from services/**/mgmt/** ( #7596 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-04-15 09:55:52 -04: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
lyndon-li and GitHub
de2cb525aa
Merge pull request #7602 from alingse/fix-append-all-when-range-it
...
Fix: append all slice data when range for it
2024-04-01 14:07:13 +08:00
qiuming and GitHub
9b705033b2
Merge pull request #7567 from danfengliu/debug-ns-deletion-hung-issue
...
Delete ns using kubectl
2024-04-01 13:31:55 +08:00
danfengl
b605f9dbd5
Delete ns using kubectl
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-01 02:40:26 +00:00
alingse
2ef22c082f
Fix: append all slice data when range for it
...
Signed-off-by: alingse <alingse@foxmail.com >
2024-04-01 00:11:50 +08: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
Wenkai Yin(尹文开)
8752c3a820
Bump up the versions of severel Kubernetes-related libs
...
Bump up the versions of severel Kubernetes-related libs
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-05 13:09:38 +08:00