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
118e33df
Unverified
Commit
118e33df
authored
Mar 13, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Mar 13, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #72092 from vllry/move-gce-test-manifests
Move e2e ingress test manifests for GCE to a subdirectory
parents
517922f3
579764eb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
2 deletions
+5
-2
ingress_utils.go
test/e2e/framework/ingress/ingress_utils.go
+3
-0
ingress.go
test/e2e/network/ingress.go
+1
-1
ing.yaml
test/e2e/testing-manifests/ingress/gce/static-ip-2/ing.yaml
+0
-0
rc.yaml
test/e2e/testing-manifests/ingress/gce/static-ip-2/rc.yaml
+0
-0
svc.yaml
test/e2e/testing-manifests/ingress/gce/static-ip-2/svc.yaml
+0
-0
ingress.go
test/e2e/upgrades/ingress.go
+1
-1
No files found.
test/e2e/framework/ingress/ingress_utils.go
View file @
118e33df
...
...
@@ -86,6 +86,9 @@ const (
// IngressManifestPath is the parent path to yaml test manifests.
IngressManifestPath
=
"test/e2e/testing-manifests/ingress"
// GCEIngressManifestPath is the parent path to GCE-specific yaml test manifests.
GCEIngressManifestPath
=
IngressManifestPath
+
"/gce"
// IngressReqTimeout is the timeout on a single http request.
IngressReqTimeout
=
10
*
time
.
Second
...
...
test/e2e/network/ingress.go
View file @
118e33df
...
...
@@ -904,7 +904,7 @@ var _ = SIGDescribe("Loadbalancing: L7", func() {
It
(
"single and multi-cluster ingresses should be able to exist together"
,
func
()
{
By
(
"Creating a single cluster ingress first"
)
jig
.
Class
=
""
singleIngFilePath
:=
filepath
.
Join
(
ingress
.
IngressManifestPath
,
"static-ip-2"
)
singleIngFilePath
:=
filepath
.
Join
(
ingress
.
GCE
IngressManifestPath
,
"static-ip-2"
)
jig
.
CreateIngress
(
singleIngFilePath
,
ns
,
map
[
string
]
string
{},
map
[
string
]
string
{})
jig
.
WaitForIngress
(
false
/*waitForNodePort*/
)
// jig.Ingress will be overwritten when we create MCI, so keep a reference.
...
...
test/e2e/testing-manifests/ingress/static-ip-2/ing.yaml
→
test/e2e/testing-manifests/ingress/
gce/
static-ip-2/ing.yaml
View file @
118e33df
File moved
test/e2e/testing-manifests/ingress/static-ip-2/rc.yaml
→
test/e2e/testing-manifests/ingress/
gce/
static-ip-2/rc.yaml
View file @
118e33df
File moved
test/e2e/testing-manifests/ingress/static-ip-2/svc.yaml
→
test/e2e/testing-manifests/ingress/
gce/
static-ip-2/svc.yaml
View file @
118e33df
File moved
test/e2e/upgrades/ingress.go
View file @
118e33df
...
...
@@ -98,7 +98,7 @@ func (t *IngressUpgradeTest) Setup(f *framework.Framework) {
// Create a working basic Ingress
ginkgo
.
By
(
fmt
.
Sprintf
(
"allocated static ip %v: %v through the GCE cloud provider"
,
t
.
ipName
,
t
.
ip
))
jig
.
CreateIngress
(
filepath
.
Join
(
ingress
.
IngressManifestPath
,
"static-ip-2"
),
ns
.
Name
,
map
[
string
]
string
{
jig
.
CreateIngress
(
filepath
.
Join
(
ingress
.
GCE
IngressManifestPath
,
"static-ip-2"
),
ns
.
Name
,
map
[
string
]
string
{
ingress
.
IngressStaticIPKey
:
t
.
ipName
,
ingress
.
IngressAllowHTTPKey
:
"false"
,
},
map
[
string
]
string
{})
...
...
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