Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
fb926818
Unverified
Commit
fb926818
authored
Feb 25, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 25, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #74370 from oomichi/issue/74326
Register openstack provider for e2e test
parents
08135676
5c3b0c1e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
0 deletions
+60
-0
BUILD
test/e2e/BUILD
+1
-0
e2e.go
test/e2e/e2e.go
+1
-0
BUILD
test/e2e/framework/BUILD
+1
-0
BUILD
test/e2e/framework/providers/openstack/BUILD
+23
-0
openstack.go
test/e2e/framework/providers/openstack/openstack.go
+34
-0
No files found.
test/e2e/BUILD
View file @
fb926818
...
@@ -68,6 +68,7 @@ go_library(
...
@@ -68,6 +68,7 @@ go_library(
"//test/e2e/framework/providers/azure:go_default_library",
"//test/e2e/framework/providers/azure:go_default_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/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",
...
...
test/e2e/e2e.go
View file @
fb926818
...
@@ -50,6 +50,7 @@ import (
...
@@ -50,6 +50,7 @@ import (
_
"k8s.io/kubernetes/test/e2e/framework/providers/azure"
_
"k8s.io/kubernetes/test/e2e/framework/providers/azure"
_
"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"
)
)
var
(
var
(
...
...
test/e2e/framework/BUILD
View file @
fb926818
...
@@ -170,6 +170,7 @@ filegroup(
...
@@ -170,6 +170,7 @@ filegroup(
"//test/e2e/framework/providers/azure:all-srcs",
"//test/e2e/framework/providers/azure:all-srcs",
"//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/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",
...
...
test/e2e/framework/providers/openstack/BUILD
0 → 100644
View file @
fb926818
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["openstack.go"],
importpath = "k8s.io/kubernetes/test/e2e/framework/providers/openstack",
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"],
)
test/e2e/framework/providers/openstack/openstack.go
0 → 100644
View file @
fb926818
/*
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
openstack
import
(
"k8s.io/kubernetes/test/e2e/framework"
)
func
init
()
{
framework
.
RegisterProvider
(
"openstack"
,
newProvider
)
}
func
newProvider
()
(
framework
.
ProviderInterface
,
error
)
{
return
&
Provider
{},
nil
}
// Provider is a structure to handle OpenStack clouds for e2e testing
type
Provider
struct
{
framework
.
NullProvider
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment