mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Allow adding a suffix to the devel staging path for server tars on GCS.
This is needed to allow multiple GCE e2e runs to occur using the same project on Jenkins.
This commit is contained in:
parent
b82b9a00f9
commit
fcba3136d0
@ -35,6 +35,10 @@ ALLOCATE_NODE_CIDRS=true
|
||||
|
||||
KUBE_PROMPT_FOR_UPDATE=y
|
||||
KUBE_SKIP_UPDATE=${KUBE_SKIP_UPDATE-"n"}
|
||||
# Suffix to append to the staging path used for the server tars. Useful if
|
||||
# multiple versions of the server are being used in the same project
|
||||
# simultaneously (e.g. on Jenkins).
|
||||
KUBE_GCS_STAGING_PATH_SUFFIX=${KUBE_GCS_STAGING_PATH_SUFFIX-""}
|
||||
|
||||
# VERSION_REGEX matches things like "v0.13.1"
|
||||
readonly KUBE_VERSION_REGEX="^v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
|
||||
@ -214,7 +218,7 @@ function upload-server-tars() {
|
||||
gsutil mb "${staging_bucket}"
|
||||
fi
|
||||
|
||||
local -r staging_path="${staging_bucket}/devel"
|
||||
local -r staging_path="${staging_bucket}/devel${KUBE_GCS_STAGING_PATH_SUFFIX}"
|
||||
|
||||
local server_hash
|
||||
local salt_hash
|
||||
|
Loading…
Reference in New Issue
Block a user