Xun Jiang
2178d36d14
Change the CreateFileToPod function's OS parameter as the E2E pass-in value.
...
Run the E2E test on kind / build (push) Failing after 9s
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
Fix GetResourceWithLabel's bug: labels were not applied.
Add workOS for deployment and pod creationg.
Add OS label for select node.
Enlarge the context timeout to 10 minutes. 5 min is not enough for Windows.
Enlarge the Kibishii test context to 15 minutes for Windows.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-08-21 09:34:06 +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
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 )
...
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
Matthieu MOREL
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
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
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
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
qiuming
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
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
danfengl
7c50c3cb8c
using zfs for vanilla cluster test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-02-27 06:39:33 +00:00
Xun Jiang
effbcba521
Add E2E test cases for backup VolumeInfo feature.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-02-22 16:18:55 +08:00
Tiger Kaovilai
b1d95cf2aa
Set GOBIN so Makefile don't modify $PATH on go install Fix realPath resolving when cloud credentials is prefixed by ~ for home dir Use ~/.docker/config.json if REGISTRY_CREDENTIAL_FILE not defined and skip step if does not exists since it is optional
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Set `GOBIN` so Makefile don't modify $PATH on `go install`
Fix realPath resolving when cloud credentials is prefixed by `~` for home dir
Use `~/.docker/config.json` if REGISTRY_CREDENTIAL_FILE not defined and skip step if does not exists since it is optional
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add kind testdata storageclass
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add kind testdata storageclass
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
log `Start to install Azure VolumeSnapshotClass ...` only on azure when csi is enabled
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add BSL_CONFIG example and notes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Makefile: Set `GOBIN` for `_output/...`
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
README spacing
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
StandbyClusterObjectStoreProvider typo
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Specify velero namespace during get/delete command
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Use object stores rather than cloudProvider for bucket queries
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove debug print
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
simplify NS get changes, add velero NS to `DeleteBackupResource`
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Skip file system backups on kind which uses hostPath volumes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add StorageClass change test to PR kind e2e
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add more tests to pr
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add NS mapping to PR e2e
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add `SKIP_KIND` to some jobs containing volumes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove kind from kibishii tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Label volume resource policies as restic, skip restic/snapshot tests, add more tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
TTLTest is a snapshot test
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove non working tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Resolve https://github.com/vmware-tanzu/velero/pull/7353#issuecomment-1925660077
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
address https://github.com/vmware-tanzu/velero/pull/7353/files#r1477218762
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Address https://github.com/vmware-tanzu/velero/pull/7353#issuecomment-1923414840
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-04 22:17:37 -05:00
danfengl
72438b7319
Support IRSA for data mover pipeline
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-02-02 02:04:26 +00:00
danfengl
df585053e7
Add a new EKS pipeline with IRSA as credential
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-01-26 02:17:21 +00:00
qiuming
ccd3f220ad
Merge pull request #7090 from qiuming-best/perf-test-0
...
Enhance perf test
2023-11-27 16:10:26 +08:00
Ming
507157f812
Add perf test namespace mapping when restore
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-11-27 02:11:13 +00:00
danfengl
55a465a941
Add E2E test for taking CSI snapshot to PV with retain reclaim policy
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-11-21 07:11:22 +00:00
danfengl
15be42f47b
monitor velero logs and fix E2E issues
...
1. Capture Velero pod log and K8S cluster event;
2. Fix wrong path of storageclass yaml file issue caused by pert test;
3. Fix change storageclass test issue that no sc named 'default' in EKS cluster;
4. Support AWS credential as config format;
5. Support more E2E script input parameters like standy cluster plugins and provider.
Signed-off-by: danfengl <danfengl@vmware.com >
2023-08-28 05:53:32 +00:00
danfengl
172166749e
Replace pod with deployment in E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-08-18 01:57:43 +00:00
Ming Qiu
3b45830012
Add performance E2E test
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-08-15 01:46:36 +00:00