chore: replace vmware-tanzu/velero org references

Agent-Logs-Url: https://github.com/velero-io/velero/sessions/e8c22e84-a488-4645-a0e1-aea5a2926503

Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-22 07:38:02 +00:00
committed by GitHub
co-authored by kaovilai
parent d987388698
commit 0b7eaaf4e6
1309 changed files with 4405 additions and 4405 deletions
+2 -2
View File
@@ -180,8 +180,8 @@ make test-e2e
```
Please refer to `velero-plugin-for-microsoft-azure` documentation for instruction:
* [set up permissions for Velero](https://github.com/vmware-tanzu/velero-plugin-for-microsoft-azure#set-permissions-for-velero)
* [set up azure storage account and blob container](https://github.com/vmware-tanzu/velero-plugin-for-microsoft-azure#setup-azure-storage-account-and-blob-container)
* [set up permissions for Velero](https://github.com/velero-io/velero-plugin-for-microsoft-azure#set-permissions-for-velero)
* [set up azure storage account and blob container](https://github.com/velero-io/velero-plugin-for-microsoft-azure#setup-azure-storage-account-and-blob-container)
1. Run Multi-API group and version tests using MinIO as the backup storage location:
``` bash
+6 -6
View File
@@ -25,11 +25,11 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/kibishii"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/kibishii"
. "github.com/velero-io/velero/test/util/velero"
)
type BackupRestoreTestConfig struct {
@@ -208,7 +208,7 @@ func BackupRestoreTest(backupRestoreTestConfig BackupRestoreTestConfig) {
)).To(Succeed())
// We limit the length of backup name here to avoid the issue of vsphere plugin
// https://github.com/vmware-tanzu/velero-plugin-for-vsphere/issues/370
// https://github.com/velero-io/velero-plugin-for-vsphere/issues/370
// We can remove the logic once the issue is fixed
backupName = "backup-" + common.AdditionalBSLName
restoreName = "restore-" + common.AdditionalBSLName
+5 -5
View File
@@ -27,11 +27,11 @@ import (
. "github.com/onsi/gomega"
"github.com/pkg/errors"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/kibishii"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/kibishii"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
// Test backup and restore of Kibishii using restic
+5 -5
View File
@@ -16,7 +16,7 @@
* /
*/
// Refer to https://github.com/vmware-tanzu/velero/issues/4253
// Refer to https://github.com/velero-io/velero/issues/4253
package backups
import (
@@ -30,10 +30,10 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
type SyncBackups struct {
+5 -5
View File
@@ -30,11 +30,11 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/kibishii"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/kibishii"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
type TTL struct {
@@ -24,9 +24,9 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/velero"
)
func APIExtensionsVersionsTest() {
@@ -34,11 +34,11 @@ import (
corev1api "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/vmware-tanzu/velero/pkg/builder"
veleroexec "github.com/vmware-tanzu/velero/pkg/util/exec"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/velero"
"github.com/velero-io/velero/pkg/builder"
veleroexec "github.com/velero-io/velero/pkg/util/exec"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/velero"
)
var veleroCfg VeleroConfig
+6 -6
View File
@@ -27,11 +27,11 @@ import (
"github.com/pkg/errors"
corev1api "k8s.io/api/core/v1"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
type BackupVolumeInfo struct {
@@ -144,7 +144,7 @@ func (v *BackupVolumeInfo) CreateResources() error {
for _, pod := range podList.Items {
for i := 0; i <= pvcCount-1; i++ {
// Hitting issue https://github.com/vmware-tanzu/velero/issues/7388
// Hitting issue https://github.com/velero-io/velero/issues/7388
// So populate data only to some of pods, leave other pods empty to verify empty PV datamover
if i%2 == 0 {
Expect(CreateFileToPod(
@@ -21,9 +21,9 @@ import (
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
var CSIDataMoverVolumeInfoTest func() = TestFunc(&CSIDataMoverVolumeInfo{
@@ -21,9 +21,9 @@ import (
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
var CSISnapshotVolumeInfoTest func() = TestFunc(&CSISnapshotVolumeInfo{
@@ -21,9 +21,9 @@ import (
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
var FilesystemUploadVolumeInfoTest func() = TestFunc(&FilesystemUploadVolumeInfo{
@@ -21,9 +21,9 @@ import (
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
var NativeSnapshotVolumeInfoTest func() = TestFunc(&NativeSnapshotVolumeInfo{
@@ -21,9 +21,9 @@ import (
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
var SkippedVolumeInfoTest func() = TestFunc(&SkippedVolumeInfo{
+3 -3
View File
@@ -8,9 +8,9 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/kibishii"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/kibishii"
)
type NamespaceMapping struct {
+4 -4
View File
@@ -10,10 +10,10 @@ import (
corev1api "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/intstr"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/velero"
)
type NodePort struct {
+2 -2
View File
@@ -25,8 +25,8 @@ import (
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
type MultiNSBackup struct {
@@ -22,8 +22,8 @@ import (
"github.com/pkg/errors"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
type NSAnnotationCase struct {
+2 -2
View File
@@ -39,8 +39,8 @@ import (
. "github.com/onsi/ginkgo/v2"
"github.com/pkg/errors"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
type RBACCase struct {
@@ -33,7 +33,7 @@ limitations under the License.
package basic
import (
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/velero-io/velero/test/e2e/test"
)
func GetResourcesCheckTestCases() []VeleroBackupRestoreTest {
+4 -4
View File
@@ -24,10 +24,10 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
"github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
// RestoreExecHooks tests that a pod with multiple restore exec hooks does not hang
+6 -6
View File
@@ -7,12 +7,12 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/velero"
)
type StorageClasssChanging struct {
+6 -6
View File
@@ -27,11 +27,11 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/kibishii"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/kibishii"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
const (
@@ -143,7 +143,7 @@ func BslDeletionTest(useVolumeSnapshots bool) {
podName2 := "kibishii-deployment-1"
label1 := "for=1"
// TODO remove when issue https://github.com/vmware-tanzu/velero/issues/4724 is fixed
// TODO remove when issue https://github.com/velero-io/velero/issues/4724 is fixed
//label2 := "for!=1"
label2 := "for=2"
By("Create namespace for sample workload", func() {
+24 -24
View File
@@ -29,30 +29,30 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/vmware-tanzu/velero/pkg/cmd/cli/install"
"github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/backup"
. "github.com/vmware-tanzu/velero/test/e2e/backups"
. "github.com/vmware-tanzu/velero/test/e2e/basic"
. "github.com/vmware-tanzu/velero/test/e2e/basic/api-group"
. "github.com/vmware-tanzu/velero/test/e2e/basic/backup-volume-info"
. "github.com/vmware-tanzu/velero/test/e2e/basic/resources-check"
. "github.com/vmware-tanzu/velero/test/e2e/bsl-mgmt"
. "github.com/vmware-tanzu/velero/test/e2e/migration"
. "github.com/vmware-tanzu/velero/test/e2e/nodeagentconfig"
. "github.com/vmware-tanzu/velero/test/e2e/parallelfilesdownload"
. "github.com/vmware-tanzu/velero/test/e2e/parallelfilesupload"
. "github.com/vmware-tanzu/velero/test/e2e/privilegesmgmt"
. "github.com/vmware-tanzu/velero/test/e2e/pv-backup"
. "github.com/vmware-tanzu/velero/test/e2e/repomaintenance"
. "github.com/vmware-tanzu/velero/test/e2e/resource-filtering"
. "github.com/vmware-tanzu/velero/test/e2e/resourcemodifiers"
. "github.com/vmware-tanzu/velero/test/e2e/resourcepolicies"
. "github.com/vmware-tanzu/velero/test/e2e/scale"
. "github.com/vmware-tanzu/velero/test/e2e/schedule"
. "github.com/vmware-tanzu/velero/test/e2e/upgrade"
"github.com/vmware-tanzu/velero/test/util/k8s"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
"github.com/velero-io/velero/pkg/cmd/cli/install"
"github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/backup"
. "github.com/velero-io/velero/test/e2e/backups"
. "github.com/velero-io/velero/test/e2e/basic"
. "github.com/velero-io/velero/test/e2e/basic/api-group"
. "github.com/velero-io/velero/test/e2e/basic/backup-volume-info"
. "github.com/velero-io/velero/test/e2e/basic/resources-check"
. "github.com/velero-io/velero/test/e2e/bsl-mgmt"
. "github.com/velero-io/velero/test/e2e/migration"
. "github.com/velero-io/velero/test/e2e/nodeagentconfig"
. "github.com/velero-io/velero/test/e2e/parallelfilesdownload"
. "github.com/velero-io/velero/test/e2e/parallelfilesupload"
. "github.com/velero-io/velero/test/e2e/privilegesmgmt"
. "github.com/velero-io/velero/test/e2e/pv-backup"
. "github.com/velero-io/velero/test/e2e/repomaintenance"
. "github.com/velero-io/velero/test/e2e/resource-filtering"
. "github.com/velero-io/velero/test/e2e/resourcemodifiers"
. "github.com/velero-io/velero/test/e2e/resourcepolicies"
. "github.com/velero-io/velero/test/e2e/scale"
. "github.com/velero-io/velero/test/e2e/schedule"
. "github.com/velero-io/velero/test/e2e/upgrade"
"github.com/velero-io/velero/test/util/k8s"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
func init() {
+9 -9
View File
@@ -24,14 +24,14 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/vmware-tanzu/velero/test"
framework "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
util "github.com/vmware-tanzu/velero/test/util/csi"
k8sutil "github.com/vmware-tanzu/velero/test/util/k8s"
"github.com/vmware-tanzu/velero/test/util/kibishii"
"github.com/vmware-tanzu/velero/test/util/providers"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
"github.com/velero-io/velero/test"
framework "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
util "github.com/velero-io/velero/test/util/csi"
k8sutil "github.com/velero-io/velero/test/util/k8s"
"github.com/velero-io/velero/test/util/kibishii"
"github.com/velero-io/velero/test/util/providers"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
const BackupObjectsPrefix = "backups"
@@ -283,7 +283,7 @@ func (m *migrationE2E) Backup() error {
})
} else {
// the snapshots of AWS may be still in pending status when do the restore.
// wait for a while to avoid this https://github.com/vmware-tanzu/velero/issues/1799
// wait for a while to avoid this https://github.com/velero-io/velero/issues/1799
if OriginVeleroCfg.CloudProvider == test.Azure &&
strings.EqualFold(OriginVeleroCfg.Features, test.FeatureCSI) ||
OriginVeleroCfg.CloudProvider == test.AWS {
+7 -7
View File
@@ -29,13 +29,13 @@ import (
"k8s.io/apimachinery/pkg/util/wait"
"sigs.k8s.io/controller-runtime/pkg/client"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
velerov2alpha1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v2alpha1"
"github.com/vmware-tanzu/velero/pkg/builder"
"github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
k8sutil "github.com/vmware-tanzu/velero/test/util/k8s"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
velerov2alpha1api "github.com/velero-io/velero/pkg/apis/velero/v2alpha1"
"github.com/velero-io/velero/pkg/builder"
"github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
k8sutil "github.com/velero-io/velero/test/util/k8s"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
type CachePVCTestCase struct {
@@ -31,15 +31,15 @@ import (
"k8s.io/apimachinery/pkg/util/wait"
"sigs.k8s.io/controller-runtime/pkg/client"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
velerov2alpha1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v2alpha1"
"github.com/vmware-tanzu/velero/pkg/builder"
velerotypes "github.com/vmware-tanzu/velero/pkg/types"
"github.com/vmware-tanzu/velero/pkg/util/kube"
"github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
k8sutil "github.com/vmware-tanzu/velero/test/util/k8s"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
velerov2alpha1api "github.com/velero-io/velero/pkg/apis/velero/v2alpha1"
"github.com/velero-io/velero/pkg/builder"
velerotypes "github.com/velero-io/velero/pkg/types"
"github.com/velero-io/velero/pkg/util/kube"
"github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
k8sutil "github.com/velero-io/velero/test/util/k8s"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
type NodeAgentConfigTestCase struct {
@@ -22,10 +22,10 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
type ParallelFilesDownload struct {
@@ -22,10 +22,10 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
type ParallelFilesUpload struct {
+4 -4
View File
@@ -29,10 +29,10 @@ import (
waitutil "k8s.io/apimachinery/pkg/util/wait"
kbclient "sigs.k8s.io/controller-runtime/pkg/client"
v1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/velero"
v1 "github.com/velero-io/velero/pkg/apis/velero/v1"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/velero"
)
func SSRTest() {
+5 -5
View File
@@ -10,11 +10,11 @@ import (
. "github.com/onsi/gomega"
"github.com/pkg/errors"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
type PVBackupFiltering struct {
@@ -29,15 +29,15 @@ import (
"k8s.io/apimachinery/pkg/labels"
"sigs.k8s.io/controller-runtime/pkg/client"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/builder"
velerotypes "github.com/vmware-tanzu/velero/pkg/types"
"github.com/vmware-tanzu/velero/pkg/util/kube"
velerokubeutil "github.com/vmware-tanzu/velero/pkg/util/kube"
"github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
k8sutil "github.com/vmware-tanzu/velero/test/util/k8s"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/builder"
velerotypes "github.com/velero-io/velero/pkg/types"
"github.com/velero-io/velero/pkg/util/kube"
velerokubeutil "github.com/velero-io/velero/pkg/util/kube"
"github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
k8sutil "github.com/velero-io/velero/test/util/k8s"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
type RepoMaintenanceTestCase struct {
+3 -3
View File
@@ -23,9 +23,9 @@ import (
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
type FilteringCase struct {
+4 -4
View File
@@ -24,10 +24,10 @@ import (
"github.com/pkg/errors"
apierrors "k8s.io/apimachinery/pkg/api/errors"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
/*
@@ -23,8 +23,8 @@ import (
"github.com/pkg/errors"
apierrors "k8s.io/apimachinery/pkg/api/errors"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
/*
@@ -24,9 +24,9 @@ import (
apierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
/*
@@ -23,8 +23,8 @@ import (
"github.com/pkg/errors"
apierrors "k8s.io/apimachinery/pkg/api/errors"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
/*
@@ -24,8 +24,8 @@ import (
apierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
/*
@@ -24,9 +24,9 @@ import (
apierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
/*
@@ -23,8 +23,8 @@ import (
. "github.com/onsi/gomega"
apierrors "k8s.io/apimachinery/pkg/api/errors"
. "github.com/vmware-tanzu/velero/test/e2e/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
. "github.com/velero-io/velero/test/util/k8s"
)
// WildcardNamespaces tests the inclusion and exclusion of namespaces using wildcards
@@ -24,9 +24,9 @@ import (
. "github.com/onsi/gomega"
"github.com/pkg/errors"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
var yamlData = `
@@ -27,10 +27,10 @@ import (
corev1api "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
. "github.com/velero-io/velero/test/util/k8s"
)
const FileName = "test-data.txt"
+2 -2
View File
@@ -17,8 +17,8 @@ limitations under the License.
package scale
import (
basic "github.com/vmware-tanzu/velero/test/e2e/basic/resources-check"
. "github.com/vmware-tanzu/velero/test/e2e/test"
basic "github.com/velero-io/velero/test/e2e/basic/resources-check"
. "github.com/velero-io/velero/test/e2e/test"
)
var MultiNSBackupRestore func() = TestFunc(&basic.MultiNSBackup{IsScaleTest: true})
+6 -6
View File
@@ -11,12 +11,12 @@ import (
"k8s.io/apimachinery/pkg/util/wait"
kbclient "sigs.k8s.io/controller-runtime/pkg/client"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/test"
framework "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
k8sutil "github.com/vmware-tanzu/velero/test/util/k8s"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/test"
framework "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
k8sutil "github.com/velero-io/velero/test/util/k8s"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
var ScheduleInProgressTest func() = framework.TestFunc(&InProgressCase{})
+6 -6
View File
@@ -16,7 +16,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
//the ordered resources test related to https://github.com/vmware-tanzu/velero/issues/4561
//the ordered resources test related to https://github.com/velero-io/velero/issues/4561
import (
"context"
"fmt"
@@ -30,11 +30,11 @@ import (
waitutil "k8s.io/apimachinery/pkg/util/wait"
kbclient "sigs.k8s.io/controller-runtime/pkg/client"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
framework "github.com/vmware-tanzu/velero/test/e2e/test"
"github.com/vmware-tanzu/velero/test/util/common"
k8sutil "github.com/vmware-tanzu/velero/test/util/k8s"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
framework "github.com/velero-io/velero/test/e2e/test"
"github.com/velero-io/velero/test/util/common"
k8sutil "github.com/velero-io/velero/test/util/k8s"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
var ScheduleOrderedResources func() = framework.TestFunc(&OrderedResources{})
+4 -4
View File
@@ -10,10 +10,10 @@ import (
. "github.com/onsi/gomega"
"k8s.io/apimachinery/pkg/util/wait"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
framework "github.com/vmware-tanzu/velero/test/e2e/test"
k8sutil "github.com/vmware-tanzu/velero/test/util/k8s"
veleroutil "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
framework "github.com/velero-io/velero/test/e2e/test"
k8sutil "github.com/velero-io/velero/test/util/k8s"
veleroutil "github.com/velero-io/velero/test/util/velero"
)
type PeriodicalCase struct {
+6 -6
View File
@@ -27,10 +27,10 @@ import (
. "github.com/onsi/gomega"
"github.com/pkg/errors"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/velero"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/velero"
)
/*
@@ -146,8 +146,8 @@ func (t *TestCase) Restore() error {
veleroCfg := t.GetTestCase().VeleroCfg
// the snapshots of AWS may be still in pending status when do the restore, wait for a while
// to avoid this https://github.com/vmware-tanzu/velero/issues/1799
// TODO remove this after https://github.com/vmware-tanzu/velero/issues/3533 is fixed
// to avoid this https://github.com/velero-io/velero/issues/1799
// TODO remove this after https://github.com/velero-io/velero/issues/3533 is fixed
By("Waiting 5 minutes to make sure the snapshots are ready...", func() {
if t.UseVolumeSnapshots && veleroCfg.CloudProvider != Vsphere {
time.Sleep(5 * time.Minute)
+7 -7
View File
@@ -26,11 +26,11 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/vmware-tanzu/velero/test"
. "github.com/vmware-tanzu/velero/test/util/k8s"
. "github.com/vmware-tanzu/velero/test/util/kibishii"
. "github.com/vmware-tanzu/velero/test/util/providers"
. "github.com/vmware-tanzu/velero/test/util/velero"
. "github.com/velero-io/velero/test"
. "github.com/velero-io/velero/test/util/k8s"
. "github.com/velero-io/velero/test/util/kibishii"
. "github.com/velero-io/velero/test/util/providers"
. "github.com/velero-io/velero/test/util/velero"
)
var upgradeNamespace string
@@ -236,8 +236,8 @@ func BackupUpgradeRestoreTest(useVolumeSnapshots bool, veleroCLI2Version VeleroC
})
}
// the snapshots of AWS may be still in pending status when do the restore, wait for a while
// to avoid this https://github.com/vmware-tanzu/velero/issues/1799
// TODO remove this after https://github.com/vmware-tanzu/velero/issues/3533 is fixed
// to avoid this https://github.com/velero-io/velero/issues/1799
// TODO remove this after https://github.com/velero-io/velero/issues/3533 is fixed
if tmpCfg.CloudProvider == AWS && useVolumeSnapshots {
fmt.Println("Waiting 5 minutes to make sure the snapshots are ready...")
time.Sleep(5 * time.Minute)