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
8acb522c
Unverified
Commit
8acb522c
authored
Mar 01, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Mar 01, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #74488 from xichengliudui/fixshellcheck19022502
fix shellcheck in test/e2e_node/jenkins/...
parents
cf4384dd
4b389783
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
13 deletions
+9
-13
.shellcheck_failures
hack/.shellcheck_failures
+0
-4
conformance-jenkins.sh
test/e2e_node/jenkins/conformance/conformance-jenkins.sh
+2
-2
copy-e2e-image.sh
test/e2e_node/jenkins/copy-e2e-image.sh
+4
-4
e2e-node-jenkins.sh
test/e2e_node/jenkins/e2e-node-jenkins.sh
+2
-2
ubuntu-14.04-nvidia-install.sh
test/e2e_node/jenkins/ubuntu-14.04-nvidia-install.sh
+1
-1
No files found.
hack/.shellcheck_failures
View file @
8acb522c
...
@@ -109,10 +109,6 @@
...
@@ -109,10 +109,6 @@
./test/e2e_node/conformance/run_test.sh
./test/e2e_node/conformance/run_test.sh
./test/e2e_node/environment/setup_host.sh
./test/e2e_node/environment/setup_host.sh
./test/e2e_node/gubernator.sh
./test/e2e_node/gubernator.sh
./test/e2e_node/jenkins/conformance/conformance-jenkins.sh
./test/e2e_node/jenkins/copy-e2e-image.sh
./test/e2e_node/jenkins/e2e-node-jenkins.sh
./test/e2e_node/jenkins/ubuntu-14.04-nvidia-install.sh
./test/images/image-util.sh
./test/images/image-util.sh
./test/images/pets/redis-installer/on-start.sh
./test/images/pets/redis-installer/on-start.sh
./test/images/pets/zookeeper-installer/install.sh
./test/images/pets/zookeeper-installer/install.sh
...
...
test/e2e_node/jenkins/conformance/conformance-jenkins.sh
View file @
8acb522c
...
@@ -22,7 +22,7 @@ set -x
...
@@ -22,7 +22,7 @@ set -x
:
"
${
1
:?Usage
test/e2e_node/jenkins/conformance-node-jenkins.sh <path to properties>
}
"
:
"
${
1
:?Usage
test/e2e_node/jenkins/conformance-node-jenkins.sh <path to properties>
}
"
.
$1
.
"
${
1
}
"
make generated_files
make generated_files
...
@@ -30,7 +30,7 @@ WORKSPACE=${WORKSPACE:-"/tmp/"}
...
@@ -30,7 +30,7 @@ WORKSPACE=${WORKSPACE:-"/tmp/"}
ARTIFACTS
=
${
WORKSPACE
}
/_artifacts
ARTIFACTS
=
${
WORKSPACE
}
/_artifacts
TIMEOUT
=
${
TIMEOUT
:-
"45m"
}
TIMEOUT
=
${
TIMEOUT
:-
"45m"
}
mkdir
-p
${
ARTIFACTS
}
mkdir
-p
"
${
ARTIFACTS
}
"
go run
test
/e2e_node/runner/remote/run_remote.go
--test-suite
=
conformance
\
go run
test
/e2e_node/runner/remote/run_remote.go
--test-suite
=
conformance
\
--logtostderr
--vmodule
=
*
=
4
--ssh-env
=
"gce"
--ssh-user
=
"
$GCE_USER
"
\
--logtostderr
--vmodule
=
*
=
4
--ssh-env
=
"gce"
--ssh-user
=
"
$GCE_USER
"
\
...
...
test/e2e_node/jenkins/copy-e2e-image.sh
View file @
8acb522c
...
@@ -37,8 +37,8 @@ TO_PROJECT=$3
...
@@ -37,8 +37,8 @@ TO_PROJECT=$3
TO_IMAGE
=
$4
TO_IMAGE
=
$4
echo
"Copying image
$FROM_IMAGE
from project
$FROM_PROJECT
to project
$TO_PROJECT
as image
$TO_IMAGE
..."
echo
"Copying image
$FROM_IMAGE
from project
$FROM_PROJECT
to project
$TO_PROJECT
as image
$TO_IMAGE
..."
gcloud compute
--project
$TO_PROJECT
disks create
$TO_IMAGE
--image
=
https://www.googleapis.com/compute/v1/projects/
$FROM_PROJECT
/global/images/
$FROM_IMAGE
gcloud compute
--project
"
${
TO_PROJECT
}
"
disks create
"
${
TO_IMAGE
}
"
--image
=
https://www.googleapis.com/compute/v1/projects/
"
${
FROM_PROJECT
}
/global/images/""
${
FROM_IMAGE
}
"
gcloud compute
--project
$TO_PROJECT
images create
$TO_IMAGE
\
gcloud compute
--project
"
${
TO_PROJECT
}
"
images create
"
${
TO_IMAGE
}
"
\
--source-disk
=
$TO_IMAGE
\
--source-disk
=
"
${
TO_IMAGE
}
"
\
--description
=
"Cloned from projects/
$2
/global/images/
$1
by
$USER
on
$(
date
)
"
--description
=
"Cloned from projects/
$2
/global/images/
$1
by
$USER
on
$(
date
)
"
gcloud
-q
compute
--project
$TO_PROJECT
disks delete
$TO_IMAGE
gcloud
-q
compute
--project
"
${
TO_PROJECT
}
"
disks delete
"
${
TO_IMAGE
}
"
test/e2e_node/jenkins/e2e-node-jenkins.sh
View file @
8acb522c
...
@@ -26,7 +26,7 @@ set -x
...
@@ -26,7 +26,7 @@ set -x
:
"
${
1
:?Usage
test/e2e_node/jenkins/e2e-node-jenkins.sh <path to properties>
}
"
:
"
${
1
:?Usage
test/e2e_node/jenkins/e2e-node-jenkins.sh <path to properties>
}
"
.
$1
.
"
${
1
}
"
# indirectly generates test/e2e/generated/bindata.go too
# indirectly generates test/e2e/generated/bindata.go too
make generated_files
make generated_files
...
@@ -39,7 +39,7 @@ WORKSPACE=${WORKSPACE:-"/tmp/"}
...
@@ -39,7 +39,7 @@ WORKSPACE=${WORKSPACE:-"/tmp/"}
ARTIFACTS
=
${
WORKSPACE
}
/_artifacts
ARTIFACTS
=
${
WORKSPACE
}
/_artifacts
TIMEOUT
=
${
TIMEOUT
:-
"45m"
}
TIMEOUT
=
${
TIMEOUT
:-
"45m"
}
mkdir
-p
${
ARTIFACTS
}
mkdir
-p
"
${
ARTIFACTS
}
"
go run
test
/e2e_node/runner/remote/run_remote.go
--logtostderr
--vmodule
=
*
=
4
\
go run
test
/e2e_node/runner/remote/run_remote.go
--logtostderr
--vmodule
=
*
=
4
\
--ssh-env
=
"gce"
--ssh-user
=
"
$GCE_USER
"
--zone
=
"
$GCE_ZONE
"
--project
=
"
$GCE_PROJECT
"
\
--ssh-env
=
"gce"
--ssh-user
=
"
$GCE_USER
"
--zone
=
"
$GCE_ZONE
"
--project
=
"
$GCE_PROJECT
"
\
...
...
test/e2e_node/jenkins/ubuntu-14.04-nvidia-install.sh
View file @
8acb522c
...
@@ -23,7 +23,7 @@ if ! dpkg-query -W cuda; then
...
@@ -23,7 +23,7 @@ if ! dpkg-query -W cuda; then
dpkg
-i
./cuda-repo-ubuntu1404_8.0.61-1_amd64.deb
dpkg
-i
./cuda-repo-ubuntu1404_8.0.61-1_amd64.deb
apt-get update
apt-get update
apt-get
install
cuda
-y
apt-get
install
cuda
-y
apt-get
install
linux-headers-
$(
uname
-r
)
-y
apt-get
install
"linux-headers-
$(
uname
-r
)
"
-y
fi
fi
## Pre-loads kernel modules
## Pre-loads kernel modules
nvidia-smi
nvidia-smi
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