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
42be6db6
Commit
42be6db6
authored
Jun 12, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9744 from ixdy/gcs-staging-path
Allow adding a suffix to the devel staging path for server tars on GCS.
parents
3e8690c2
fcba3136
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
util.sh
cluster/gce/util.sh
+5
-1
No files found.
cluster/gce/util.sh
View file @
42be6db6
...
...
@@ -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
...
...
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