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
05623863
Commit
05623863
authored
Nov 04, 2016
by
Vishnu kannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re-enable node e2e for GCI mounter
Signed-off-by:
Vishnu kannan
<
vishnuk@google.com
>
parent
77218d36
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
gci-init.yaml
test/e2e_node/jenkins/gci-init.yaml
+3
-1
remote.go
test/e2e_node/remote/remote.go
+1
-4
services.go
test/e2e_node/services/services.go
+1
-3
No files found.
test/e2e_node/jenkins/gci-init.yaml
View file @
05623863
...
...
@@ -6,5 +6,7 @@ runcmd:
-
mkdir -p /home/kubernetes/bin/
-
mount -B /home/kubernetes/bin /home/kubernetes/bin
-
mount -B -o remount,exec /home/kubernetes/bin
-
wget https://storage.googleapis.com/kubernetes-release/rkt/rkt-v1.18.0 -O /home/kubernetes/bin/rkt
-
wget https://storage.googleapis.com/kubernetes-release/rkt/v1.18.0/rkt -O /home/kubernetes/bin/rkt
-
wget https://storage.googleapis.com/kubernetes-release/rkt/v1.18.0/stage1-fly.aci -O /home/kubernetes/bin/stage1-fly.aci
-
wget https://storage.googleapis.com/kubernetes-release/gci-mounter/gci-mounter-v2.aci -O /home/kubernetes/bin/gci-mounter-v2.aci
-
chmod a+x /home/kubernetes/bin/rkt
test/e2e_node/remote/remote.go
View file @
05623863
...
...
@@ -45,8 +45,6 @@ const (
archiveName
=
"e2e_node_test.tar.gz"
CNIRelease
=
"07a8a28637e97b22eb8dfe710eeae1344f69d16e"
CNIDirectory
=
"cni"
// Note: This path needs to be in sync with the "target" path for `/` in cluster/gce/gci/mounter/mounter
mounterRootfsPath
string
=
"/media/root"
)
var
CNIURL
=
fmt
.
Sprintf
(
"https://storage.googleapis.com/kubernetes-release/network-plugins/cni-%s.tar.gz"
,
CNIRelease
)
...
...
@@ -115,7 +113,7 @@ func CreateTestArchive() (string, error) {
}
}
// Include the GCI mounter in the deployed tarball
// Include the GCI mounter
artifacts
in the deployed tarball
k8sDir
,
err
:=
builder
.
GetK8sRootDir
()
if
err
!=
nil
{
return
""
,
fmt
.
Errorf
(
"Could not find K8s root dir! Err: %v"
,
err
)
...
...
@@ -283,7 +281,6 @@ func RunRemote(archive string, host string, cleanup bool, junitFilePrefix string
return
""
,
false
,
err
}
// Insert args at beginning of testArgs, so any values from command line take precedence
testArgs
=
fmt
.
Sprintf
(
"--experimental-mounter-rootfs-path=%s "
,
mounterRootfsPath
)
+
testArgs
testArgs
=
fmt
.
Sprintf
(
"--experimental-mounter-path=%s "
,
mounterPath
)
+
testArgs
}
...
...
test/e2e_node/services/services.go
View file @
05623863
...
...
@@ -207,9 +207,7 @@ func (e *E2EServices) startKubelet() (*server, error) {
"--feature-gates"
,
framework
.
TestContext
.
FeatureGates
,
"--v"
,
LOG_VERBOSITY_LEVEL
,
"--logtostderr"
,
// Temporarily disabled:
// "--experimental-mounter-path", framework.TestContext.MounterPath,
// "--experimental-mounter-rootfs-path", framework.TestContext.MounterRootfsPath,
"--experimental-mounter-path"
,
framework
.
TestContext
.
MounterPath
,
)
if
framework
.
TestContext
.
EnableCRI
{
...
...
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