Xun Jiang
e736376d69
Add Velero-installed namespace to exlucde list for scale test.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-05-28 17:00:14 +08:00
Xun Jiang/Bruce Jiang
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
c6a420bd3a
chore: define common aliases for k8s packages ( #8672 )
...
* 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
54907a03fe
E2E support sets the --item-block-worker-count. ( #8836 )
...
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
Wenkai Yin(尹文开)
6df1424a44
Merge pull request #8828 from blackpiglet/bump_e2e_upgrade_migration_source_version
...
Bump the migration and upgrade E2E test source version.
2025-03-28 14:13:28 +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
Xun Jiang
6a0c6d5b75
Fix the non data mover migration failure.
...
Migration cases use the Kibishii as the workload, and SC mapping
ConfigMap was needed for all scenarios, because standby cluster
doesn't have the Kibishii SC after setting up.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-03-27 18:35:30 +08:00
Matthieu MOREL
6a6a237ba7
Bump golangci-lint from v1.57.2 to v1.64.5 ( #8641 )
...
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
29a77958d5
fix: dupword on tests
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-01-10 11:44:06 +01:00
Xun Jiang/Bruce Jiang
fa8f464fb3
Merge pull request #8551 from blackpiglet/migration_init
...
[cherry-pick] Modify the Init logic to fix the migration case error.
2024-12-24 11:31:01 +08: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
938dd3c661
Modify the Init logic to fix the migration case error.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2024-12-24 11:00:42 +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
82ce1fa44f
Fix the KIBISHII_DIRECTORY parameter not work for make test-e2e issue.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2024-10-24 17:19:50 +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
6a1d8dfc6c
Fix the context choosing error after migration case.
...
Change the FAIL_FAST default value to false.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2024-10-15 13:49:32 +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
f1846be634
Enable --fail-fast by default for E2E and performance tests.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2024-09-10 22:25:08 +08:00
Xun Jiang
af62dd4b3e
Modify E2E and perf test result output directory.
...
Add LongTime label to more E2E cases.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2024-08-20 10:58:32 +08:00
Xun Jiang
71c75d6dcb
Set the Ginkgo timeout to 5 hours.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-07-24 22:39:45 +08:00
Xun Jiang
e862b976a4
Use labels instead of regex to filter E2E test cases.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-07-24 15:33:06 +08:00
Xun Jiang
afca7dd6fe
Replace RunSpecsWithDefaultAndCustomReporters with RunSpecs.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-07-22 15:58:00 +08:00
Matthieu MOREL
c8baaa9b11
testifylint: enable more rules ( #8024 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-07-18 10:43:16 -04:00
lyndon-li
55e027897c
Merge pull request #8010 from blackpiglet/7961_fix
...
Bump Ginkgo to v2.
2024-07-17 17:19:08 +08:00
Xun Jiang
7a3b947961
Bump Ginkgo to v2.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-07-17 15:31:23 +08:00
Matthieu MOREL
aa3fde5ea5
testifylint: enable bool-compare rule ( #7623 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-07-16 09:28:23 -04:00
Matthieu MOREL
917b55e107
golangci-lint(unconvert): fix test files ( #7608 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-07-16 09:27:15 -04:00
Xun Jiang
9b7dd663c3
Skip parallel files upload and download test for Restic case.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-06-13 11:28:12 +08:00
Matthieu MOREL
75fe761061
golangci-lint: fix gosimple linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-05-17 07:31:03 +00: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
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
danfeng
3c37c843f8
Merge pull request #7591 from mmorel-35/noctx
...
golangci-lint(noctx): fix test files
2024-05-13 13:29:07 +08:00
danfengl
85495eef48
Fix makefile param issue
...
Using VERSION instead of VELERO_VERSION, since VERSION is passed from root Makefile.
Signed-off-by: danfengl <danfengl@vmware.com>
2024-05-11 05:40:03 +00: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