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
3503c4f7
Commit
3503c4f7
authored
Sep 22, 2016
by
Joe Finney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make e2e.go give us JUnit results.
parent
ca00e596
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
40 deletions
+2
-40
e2e-tests.md
docs/devel/e2e-tests.md
+2
-8
e2e-push.sh
hack/e2e-internal/e2e-push.sh
+0
-32
e2e.go
hack/e2e.go
+0
-0
No files found.
docs/devel/e2e-tests.md
View file @
3503c4f7
...
@@ -125,12 +125,6 @@ go run hack/e2e.go -v --build
...
@@ -125,12 +125,6 @@ go run hack/e2e.go -v --build
# Create a fresh cluster. Deletes a cluster first, if it exists
# Create a fresh cluster. Deletes a cluster first, if it exists
go run hack/e2e.go
-v
--up
go run hack/e2e.go
-v
--up
# Push code to an existing cluster
go run hack/e2e.go
-v
--push
# Push to an existing cluster, or bring up a cluster if it's down.
go run hack/e2e.go
-v
--pushup
# Run all tests
# Run all tests
go run hack/e2e.go
-v
--test
go run hack/e2e.go
-v
--test
...
@@ -144,12 +138,12 @@ go run hack/e2e.go -v --test --test_args="--ginkgo.skip=Pods.*env"
...
@@ -144,12 +138,12 @@ go run hack/e2e.go -v --test --test_args="--ginkgo.skip=Pods.*env"
GINKGO_PARALLEL
=
y go run hack/e2e.go
--v
--test
--test_args
=
"--ginkgo.skip=
\[
Serial
\]
"
GINKGO_PARALLEL
=
y go run hack/e2e.go
--v
--test
--test_args
=
"--ginkgo.skip=
\[
Serial
\]
"
# Flags can be combined, and their actions will take place in this order:
# Flags can be combined, and their actions will take place in this order:
# --build, --
push|--up|--push
up, --test, --down
# --build, --up, --test, --down
#
#
# You can also specify an alternative provider, such as 'aws'
# You can also specify an alternative provider, such as 'aws'
#
#
# e.g.:
# e.g.:
KUBERNETES_PROVIDER
=
aws go run hack/e2e.go
-v
--build
--
push
up
--test
--down
KUBERNETES_PROVIDER
=
aws go run hack/e2e.go
-v
--build
--up
--test
--down
# -ctl can be used to quickly call kubectl against your e2e cluster. Useful for
# -ctl can be used to quickly call kubectl against your e2e cluster. Useful for
# cleaning up after a failed test or viewing logs. Use -v to avoid suppressing
# cleaning up after a failed test or viewing logs. Use -v to avoid suppressing
...
...
hack/e2e-internal/e2e-push.sh
deleted
100755 → 0
View file @
ca00e596
#!/bin/bash
# Copyright 2015 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.
set
-o
errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
:
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
:
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
export
KUBECTL KUBE_CONFIG_FILE
source
"
${
KUBE_ROOT
}
/cluster/kube-util.sh"
prepare-e2e
"
${
KUBE_ROOT
}
/cluster/kube-push.sh"
$@
hack/e2e.go
View file @
3503c4f7
This diff is collapsed.
Click to expand it.
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