mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
fix shellcheck in test/e2e_node/jenkins/...
update pull request
This commit is contained in:
parent
139a13d312
commit
4b38978329
@ -136,10 +136,6 @@
|
||||
./test/e2e_node/conformance/run_test.sh
|
||||
./test/e2e_node/environment/setup_host.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/pets/redis-installer/on-start.sh
|
||||
./test/images/pets/zookeeper-installer/install.sh
|
||||
|
@ -22,7 +22,7 @@ set -x
|
||||
|
||||
: "${1:?Usage test/e2e_node/jenkins/conformance-node-jenkins.sh <path to properties>}"
|
||||
|
||||
. $1
|
||||
. "${1}"
|
||||
|
||||
make generated_files
|
||||
|
||||
@ -30,7 +30,7 @@ WORKSPACE=${WORKSPACE:-"/tmp/"}
|
||||
ARTIFACTS=${WORKSPACE}/_artifacts
|
||||
TIMEOUT=${TIMEOUT:-"45m"}
|
||||
|
||||
mkdir -p ${ARTIFACTS}
|
||||
mkdir -p "${ARTIFACTS}"
|
||||
|
||||
go run test/e2e_node/runner/remote/run_remote.go --test-suite=conformance \
|
||||
--logtostderr --vmodule=*=4 --ssh-env="gce" --ssh-user="$GCE_USER" \
|
||||
|
@ -37,8 +37,8 @@ TO_PROJECT=$3
|
||||
TO_IMAGE=$4
|
||||
|
||||
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 images create $TO_IMAGE \
|
||||
--source-disk=$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}" images create "${TO_IMAGE}" \
|
||||
--source-disk="${TO_IMAGE}" \
|
||||
--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}"
|
||||
|
@ -26,7 +26,7 @@ set -x
|
||||
|
||||
: "${1:?Usage test/e2e_node/jenkins/e2e-node-jenkins.sh <path to properties>}"
|
||||
|
||||
. $1
|
||||
. "${1}"
|
||||
|
||||
# indirectly generates test/e2e/generated/bindata.go too
|
||||
make generated_files
|
||||
@ -39,7 +39,7 @@ WORKSPACE=${WORKSPACE:-"/tmp/"}
|
||||
ARTIFACTS=${WORKSPACE}/_artifacts
|
||||
TIMEOUT=${TIMEOUT:-"45m"}
|
||||
|
||||
mkdir -p ${ARTIFACTS}
|
||||
mkdir -p "${ARTIFACTS}"
|
||||
|
||||
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" \
|
||||
|
@ -23,7 +23,7 @@ if ! dpkg-query -W cuda; then
|
||||
dpkg -i ./cuda-repo-ubuntu1404_8.0.61-1_amd64.deb
|
||||
apt-get update
|
||||
apt-get install cuda -y
|
||||
apt-get install linux-headers-$(uname -r) -y
|
||||
apt-get install "linux-headers-$(uname -r)" -y
|
||||
fi
|
||||
## Pre-loads kernel modules
|
||||
nvidia-smi
|
||||
|
Loading…
Reference in New Issue
Block a user