update ci env

This commit is contained in:
Divesh Angula committed 2017-12-14 10:08:18 -08:00
1 parent 42f9e27f1d
commit 0a67f84c53
3 files changed
+7 -6

No files matched your search

Vendored
+4 -3
View File
@@ -67,9 +67,10 @@ pipeline {
stash name: 'repo-amd64',includes: 'rook-amd64.tar,build/common.sh,_output/tests/linux_amd64/,_output/charts/,tests/scripts/'
script{
def data = [
"gce_1.6": "v1.6.7",
"aws_1.7": "v1.7.8",
"gce_1.8": "v1.8.2",
"gce_1.6.1": "v1.6.1",
"gce_1.6": "v1.6.13",
"aws_1.7": "v1.7.11",
"aws_1.8": "v1.8.5"
]
testruns = [:]
for (kv in mapToList(data)) {
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash +e
KUBE_VERSION=${1:-"v1.8.2"}
KUBE_VERSION=${1:-"v1.8.5"}
null_str=
KUBE_INSTALL_VERSION="${KUBE_VERSION/v/$null_str}"-00
+2 -2
View File
@@ -5,7 +5,7 @@ scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
tarname=image.tar
tarfile=${WORK_DIR}/tests/${tarname}
export KUBE_VERSION=${KUBE_VERSION:-"v1.8.2"}
export KUBE_VERSION=${KUBE_VERSION:-"v1.8.5"}
usage(){
echo "usage:" >&2
@@ -36,7 +36,7 @@ EOF
sudo systemctl daemon-reload
fi
sudo kubeadm init --skip-preflight-checks
sudo kubeadm init --skip-preflight-checks --kubernetes-version ${KUBE_VERSION}
sudo cp /etc/kubernetes/admin.conf $HOME/
sudo chown $(id -u):$(id -g) $HOME/admin.conf