mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #74500 from sandeeppsunny/fix-e2e-tests
Change to unblock e2e tests for vsphere provider
This commit is contained in:
commit
35c9624fd6
@ -69,6 +69,7 @@ go_library(
|
|||||||
"//test/e2e/framework/providers/gce:go_default_library",
|
"//test/e2e/framework/providers/gce:go_default_library",
|
||||||
"//test/e2e/framework/providers/kubemark:go_default_library",
|
"//test/e2e/framework/providers/kubemark:go_default_library",
|
||||||
"//test/e2e/framework/providers/openstack:go_default_library",
|
"//test/e2e/framework/providers/openstack:go_default_library",
|
||||||
|
"//test/e2e/framework/providers/vsphere:go_default_library",
|
||||||
"//test/e2e/framework/testfiles:go_default_library",
|
"//test/e2e/framework/testfiles:go_default_library",
|
||||||
"//test/e2e/manifest:go_default_library",
|
"//test/e2e/manifest:go_default_library",
|
||||||
"//test/utils:go_default_library",
|
"//test/utils:go_default_library",
|
||||||
|
@ -51,6 +51,7 @@ import (
|
|||||||
_ "k8s.io/kubernetes/test/e2e/framework/providers/gce"
|
_ "k8s.io/kubernetes/test/e2e/framework/providers/gce"
|
||||||
_ "k8s.io/kubernetes/test/e2e/framework/providers/kubemark"
|
_ "k8s.io/kubernetes/test/e2e/framework/providers/kubemark"
|
||||||
_ "k8s.io/kubernetes/test/e2e/framework/providers/openstack"
|
_ "k8s.io/kubernetes/test/e2e/framework/providers/openstack"
|
||||||
|
_ "k8s.io/kubernetes/test/e2e/framework/providers/vsphere"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -171,6 +171,7 @@ filegroup(
|
|||||||
"//test/e2e/framework/providers/gce:all-srcs",
|
"//test/e2e/framework/providers/gce:all-srcs",
|
||||||
"//test/e2e/framework/providers/kubemark:all-srcs",
|
"//test/e2e/framework/providers/kubemark:all-srcs",
|
||||||
"//test/e2e/framework/providers/openstack:all-srcs",
|
"//test/e2e/framework/providers/openstack:all-srcs",
|
||||||
|
"//test/e2e/framework/providers/vsphere:all-srcs",
|
||||||
"//test/e2e/framework/testfiles:all-srcs",
|
"//test/e2e/framework/testfiles:all-srcs",
|
||||||
"//test/e2e/framework/timer:all-srcs",
|
"//test/e2e/framework/timer:all-srcs",
|
||||||
"//test/e2e/framework/viperconfig:all-srcs",
|
"//test/e2e/framework/viperconfig:all-srcs",
|
||||||
|
23
test/e2e/framework/providers/vsphere/BUILD
Normal file
23
test/e2e/framework/providers/vsphere/BUILD
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||||
|
|
||||||
|
go_library(
|
||||||
|
name = "go_default_library",
|
||||||
|
srcs = ["vsphere.go"],
|
||||||
|
importpath = "k8s.io/kubernetes/test/e2e/framework/providers/vsphere",
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
deps = ["//test/e2e/framework:go_default_library"],
|
||||||
|
)
|
||||||
|
|
||||||
|
filegroup(
|
||||||
|
name = "package-srcs",
|
||||||
|
srcs = glob(["**"]),
|
||||||
|
tags = ["automanaged"],
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
|
)
|
||||||
|
|
||||||
|
filegroup(
|
||||||
|
name = "all-srcs",
|
||||||
|
srcs = [":package-srcs"],
|
||||||
|
tags = ["automanaged"],
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
)
|
31
test/e2e/framework/providers/vsphere/OWNERS
Normal file
31
test/e2e/framework/providers/vsphere/OWNERS
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# See the OWNERS docs at https://go.k8s.io/owners
|
||||||
|
|
||||||
|
approvers:
|
||||||
|
- pmorie
|
||||||
|
- saad-ali
|
||||||
|
- thockin
|
||||||
|
- matchstick
|
||||||
|
- SandeepPissay
|
||||||
|
- divyenpatel
|
||||||
|
- BaluDontu
|
||||||
|
- abrarshivani
|
||||||
|
- imkin
|
||||||
|
- frapposelli
|
||||||
|
- dougm
|
||||||
|
- sandeeppsunny
|
||||||
|
reviewers:
|
||||||
|
- abithap
|
||||||
|
- abrarshivani
|
||||||
|
- saad-ali
|
||||||
|
- justinsb
|
||||||
|
- jsafrane
|
||||||
|
- rootfs
|
||||||
|
- jingxu97
|
||||||
|
- msau42
|
||||||
|
- SandeepPissay
|
||||||
|
- divyenpatel
|
||||||
|
- BaluDontu
|
||||||
|
- imkin
|
||||||
|
- frapposelli
|
||||||
|
- dougm
|
||||||
|
- sandeeppsunny
|
29
test/e2e/framework/providers/vsphere/vsphere.go
Normal file
29
test/e2e/framework/providers/vsphere/vsphere.go
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2019 The Kubernetes Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package vsphere
|
||||||
|
|
||||||
|
import (
|
||||||
|
"k8s.io/kubernetes/test/e2e/framework"
|
||||||
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
framework.RegisterProvider("vsphere", newProvider)
|
||||||
|
}
|
||||||
|
|
||||||
|
func newProvider() (framework.ProviderInterface, error) {
|
||||||
|
return &framework.NullProvider{}, nil
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user