qiuming
a88163f308
Merge pull request #6198 from danfengliu/fix-context-withconcel-issue
...
Fix context issues for several E2E tests
2023-05-05 11:20:34 +08:00
danfengl
5f5db2eaca
Fix context issues for several E2E tests
...
1. Fix context issues produced by previous PR, increase timeout or add case scpoed global timeout param to make backup/restore command timeout configurable.
2. Add global param for storage class name using by test cases;
3. Fix param DefaultVolumesToFsBackup usage issue: set DefaultVolumesToFsBackup to false in backup CLI in case it was set to true in install CLI.
4. Make namespace names of each namespace mapping test unique from being interfered by each other.
Signed-off-by: danfengl <danfengl@vmware.com>
2023-05-05 02:09:21 +00:00
Xun Jiang
180cc4e31d
Enable linter revive and resolve found errors: part 1
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-25 23:15:15 +08:00
Xun Jiang/Bruce Jiang
51c67089f5
Merge branch 'main' into linter_staticcheck
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
2023-04-25 15:49:05 +08:00
Xun Jiang
cb0ada1e1c
Enable staticcheck and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-25 11:33:40 +08:00
Xun Jiang/Bruce Jiang
980106dc39
Merge pull request #6154 from kaovilai/govet
...
fix go vet warnings
2023-04-25 09:24:30 +08:00
qiuming
b38ee8ad41
Optimize APIGroup E2E test case ( #6174 )
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-04-24 17:38:30 -04:00
Tiger Kaovilai
d6848ffb16
Self contain context in each high level function rather than passing around in structs
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-04-16 14:22:04 -04:00
Tiger Kaovilai
3f4b258dee
defer ctxCancel
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-04-16 13:33:43 -04:00
Tiger Kaovilai
da0f5d5850
Field labels for Duration, Time, client.ObjectKey, KibishiiData, VeleroCLI2Version
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-04-16 12:34:28 -04:00
Ming
e4c05f2ddf
Merge branch 'main' of https://github.com/qiuming-best/velero into resource-policies-e2e
2023-04-14 04:08:52 +00:00
danfengl
504b1cba30
Add E2E test for schedule backup creation principle
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-04-12 10:31:20 +00:00
Ming
45a639b16c
Add resource policies E2E test
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-04-12 02:04:01 +00:00
danfengl
35bf7a085d
Bumpup upgrade test path for v1.11
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-04-07 07:21:40 +00:00
Xun Jiang
fc692c49e6
Update Golang version to v1.19 for branch main.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-04 12:00:19 +08:00
qiuming
c9af70aff3
Merge pull request #6047 from danfengliu/debug-azure-issue
...
Add changing PVC selected node E2E test
2023-03-29 09:58:16 +08:00
danfengl
112775f924
Add changing PVC selected node E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-03-29 01:36:45 +00:00
Xun Jiang
478fb27a0e
E2E test can read VC credential secret according to vSphere CSI driver version.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-03-28 11:18:49 +08:00
danfengl
096330df16
Add wait time for migration on vsphere pipeline
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-03-24 09:29:20 +00:00
qiuming
4de4d37833
Merge pull request #5915 from danfengliu/add-changing-sc-e2e-test
...
Add E2E test of PV/PVC storage class can be changed during restores
2023-03-22 15:52:50 +08:00
杨刚 (成都)
ad9c6e8dee
delete io/ioutil package. ( #5955 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-03-16 09:25:58 +08:00
Xun Jiang/Bruce Jiang
6d8f086283
Merge pull request #5956 from Lyndon-Li/issue-fix-5935
...
Fix issue 5935
2023-03-09 15:28:47 +08:00
Lyndon-Li
40aae5ebdd
fix issue 5935
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-03-09 14:24:51 +08:00
danfengl
44a065bd3f
Turn Velero debug log flag on
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-03-07 04:07:55 +00:00
danfengl
8c7363d6a7
Add E2E test of changing PV and PVC can be changed during restores
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-02-24 09:54:55 +00:00
danfengl
979fb9ccab
Roll back pkg client code for Velero server
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-02-22 14:11:02 +00:00
danfengl
beed887eeb
Add snapshotvolumes default behavior E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-02-19 09:05:20 +00:00
Fish-pro
ef05af13bf
Clean up unused variables and functions ( #5818 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-09 10:53:24 +08:00
Scott Seago
0be05c9bc8
Merge pull request #5788 from blackpiglet/enable_staticcheck
...
Enable staticcheck linter. Disable check for folder /pkg and /test by…
2023-02-08 19:26:22 -05:00
Fish-pro
a761111ba1
Optimize string contrast judgment ( #5821 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-06 14:52:01 +08:00
Fish-pro
843c70959f
Clean up unnecessary convert ( #5819 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-06 14:50:31 +08:00
Xun Jiang
955eec7033
Enable staticcheck linter. Disable check for folder /pkg and /test by now.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-01-20 13:52:13 +08:00
danfengl
897a5e0bd8
Add sleep before backing up new born CRD
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-30 02:24:45 +00:00
danfengl
3c3f041bc1
Add verification for CRD installation
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-25 03:28:50 +00:00
danfengliu
6eccaa4cf5
Add pause/unpause schedule e2e test ( #5609 )
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-22 17:38:41 +08:00
danfengl
78dae45c52
Update upgrade test for 1.10
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-10 03:18:01 +00:00
danfengl
a411130256
debug opt in out
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-10 02:53:58 +00:00
Xun Jiang/Bruce Jiang
efcb63a20d
Fix GCP StorageClass used for E2E testing's YAML syntax error. ( #5536 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Co-authored-by: Xun Jiang <blackpiglet@gmail.com>
2022-11-03 10:55:59 +08:00
danfengliu
11a7c796eb
Fix label naming issue for restore helper ( #5469 )
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-10-20 17:49:51 +08:00
lyndon
30b1ca87eb
Merge pull request #5313 from gliptak/go8
...
Bump Go to 1.18
2022-10-18 12:17:37 +08:00
lyndon
d52ec8c079
Pod Volume Backup/Restore Refactor: Rename Init Helper ( #5432 )
...
* restore helper refactor
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
* resolve codespell
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-17 13:42:09 +08:00
danfengl
cf32cabddd
fix-ctx-issue
...
1. Fix issue of kubectl client and server mismatch version in GitAction E2E job, refer to https://github.com/elastic/cloud-on-k8s/issues/4737 ;
2. Adapt to the changing of keyword for involing Kpoia as fs backupper, new installtion breaked upgrade and migration tests;
3. Accept multi-labels of Ginkgo focus as input of E2E make command;
4. Distinguish workload namespace from each tests;
5. Fix issues of not using Velero util to perform Velero commands;
6. Add snapshot test case for NamespaceMapping E2E test;
7. Collect debug bundle after catching error of Velero backup or restore command;
Signed-off-by: danfengl <danfengl@vmware.com>
2022-10-16 13:18:39 +00:00
lyndon
83ea1cc58b
rename daemonset ( #5390 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-11 14:18:21 +08:00
danfengl
e699a3e9f2
Fix issues of E2E test for API group, migration and pv opt-out backup
...
1. One of API group test failed due to other PR with fix for treat PartiallyFailed as failure to collect debugbundle without wrap the origin error;
2. Fix migration test issue of wrong velero cli for backup commmand;
3. Fix wrong pararmeter name issue for pv opt-out backup test.
Signed-off-by: danfengl <danfengl@vmware.com>
2022-09-29 13:53:42 +00:00
danfengliu
5631c7c9df
Merge pull request #5331 from danfengliu/add-opt-in-opt-out-pv-to-e2e-test
...
Add backup opt-in/opt-out E2E test
2022-09-26 21:43:59 +08:00
danfengl
09240a269b
Add Kopia support for Velero installation in E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-09-24 04:27:24 +00:00
danfengl
081b70d0eb
Add backup opt-in/opt-out E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com>
2022-09-23 09:29:32 +00:00
qiuming
66f6365988
Merge pull request #5355 from danfengliu/add-schedule-backup-timing-e2e-test
...
Add schedule backup timing E2E test
2022-09-23 15:51:47 +08:00
lyndon
c81f0db886
rename pvbr param ( #5370 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-09-23 09:13:36 +08:00
danfengl
fdc23832cc
Fix issue of fail to get command output for test verification
...
When running velero backup/restore command, if the command result is "PartiallyFailed", it won't reture error as design, but we do need to know the debug information to figure out the reason, so the command output is needed to get the command result, then further action will be taken.
Signed-off-by: danfengl <danfengl@vmware.com>
2022-09-21 02:47:32 +00:00