Merge "Upversion kubernetes build files to 1.15.3"

This commit is contained in:
Zuul 2019-08-22 15:38:00 +00:00 committed by Gerrit Code Review
commit 9b2a6dbc18
3 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,5 @@
VERSION=1.13.5
CON_VERSION=1.13.5
VERSION=1.15.3
CON_VERSION=1.15.3
TAR_NAME=kubernetes
TAR="$TAR_NAME-v$VERSION.tar.gz"
CONTRIB="$TAR_NAME-contrib-v$CON_VERSION.tar.gz"

View File

@ -27,13 +27,14 @@ function ERROR {
}
# Create minimal cgroup directories and configure cpuset attributes
# pids should be first in the list, since it appears to get auto deleted
function create_cgroup {
local cg_name=$1
local cg_nodeset=$2
local cg_cpuset=$3
local CGROUP=/sys/fs/cgroup
local CONTROLLERS=("cpuset" "memory" "cpu,cpuacct" "systemd")
local CONTROLLERS=("pids" "cpuset" "memory" "cpu,cpuacct" "systemd")
local cnt=''
local CGDIR=''
local RC=0

View File

@ -23,16 +23,16 @@
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path k8s.io/kubernetes
%global commit 1.13.5
%global commit 1.15.3
%global con_provider github
%global con_provider_tld com
%global con_project kubernetes
%global con_repo kubernetes-contrib
# https://github.com/kubernetes/contrib
%global con_commit 1.13.5
%global con_commit 1.15.3
%global kube_version 1.13.5
%global kube_version 1.15.3
%global kube_git_version v%{kube_version}
# Needed otherwise "version_ldflags=$(kube::version_ldflags)" doesn't work
@ -761,7 +761,7 @@ building other packages which use %{project}/%{repo}.
Summary: %{summary} - for running unit tests
# below Rs used for testing
Requires: golang >= 1.2-7
Requires: golang >= 1.12.9
Requires: etcd >= 2.0.9
Requires: hostname
Requires: rsync
@ -774,7 +774,7 @@ Requires: NetworkManager
%package master
Summary: Kubernetes services for master host
BuildRequires: golang >= 1.2-7
BuildRequires: golang >= 1.12.9
BuildRequires: systemd
BuildRequires: rsync
BuildRequires: go-md2man