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
7e9f19bb
Commit
7e9f19bb
authored
Sep 19, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Sep 19, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #33016 from wojtek-t/silent_upgrade
Automatic merge from submit-queue Show errors in tars_from_version Follow up from #32855
parents
29410693
8a942e65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common.sh
cluster/common.sh
+2
-2
No files found.
cluster/common.sh
View file @
7e9f19bb
...
@@ -376,13 +376,13 @@ function tars_from_version() {
...
@@ -376,13 +376,13 @@ function tars_from_version() {
SALT_TAR_URL
=
"https://storage.googleapis.com/kubernetes-release/release/
${
KUBE_VERSION
}
/kubernetes-salt.tar.gz"
SALT_TAR_URL
=
"https://storage.googleapis.com/kubernetes-release/release/
${
KUBE_VERSION
}
/kubernetes-salt.tar.gz"
# TODO: Clean this up.
# TODO: Clean this up.
KUBE_MANIFESTS_TAR_URL
=
"
${
SERVER_BINARY_TAR_URL
/server-linux-amd64/manifests
}
"
KUBE_MANIFESTS_TAR_URL
=
"
${
SERVER_BINARY_TAR_URL
/server-linux-amd64/manifests
}
"
KUBE_MANIFESTS_TAR_HASH
=
$(
curl
${
KUBE_MANIFESTS_TAR_URL
}
2>/dev/null
|
sha1sum
|
awk
'{print $1}'
)
KUBE_MANIFESTS_TAR_HASH
=
$(
curl
${
KUBE_MANIFESTS_TAR_URL
}
--silent
--show-error
|
sha1sum
|
awk
'{print $1}'
)
elif
[[
${
KUBE_VERSION
}
=
~
${
KUBE_CI_VERSION_REGEX
}
]]
;
then
elif
[[
${
KUBE_VERSION
}
=
~
${
KUBE_CI_VERSION_REGEX
}
]]
;
then
SERVER_BINARY_TAR_URL
=
"https://storage.googleapis.com/kubernetes-release-dev/ci/
${
KUBE_VERSION
}
/kubernetes-server-linux-amd64.tar.gz"
SERVER_BINARY_TAR_URL
=
"https://storage.googleapis.com/kubernetes-release-dev/ci/
${
KUBE_VERSION
}
/kubernetes-server-linux-amd64.tar.gz"
SALT_TAR_URL
=
"https://storage.googleapis.com/kubernetes-release-dev/ci/
${
KUBE_VERSION
}
/kubernetes-salt.tar.gz"
SALT_TAR_URL
=
"https://storage.googleapis.com/kubernetes-release-dev/ci/
${
KUBE_VERSION
}
/kubernetes-salt.tar.gz"
# TODO: Clean this up.
# TODO: Clean this up.
KUBE_MANIFESTS_TAR_URL
=
"
${
SERVER_BINARY_TAR_URL
/server-linux-amd64/manifests
}
"
KUBE_MANIFESTS_TAR_URL
=
"
${
SERVER_BINARY_TAR_URL
/server-linux-amd64/manifests
}
"
KUBE_MANIFESTS_TAR_HASH
=
$(
curl
${
KUBE_MANIFESTS_TAR_URL
}
2>/dev/null
|
sha1sum
|
awk
'{print $1}'
)
KUBE_MANIFESTS_TAR_HASH
=
$(
curl
${
KUBE_MANIFESTS_TAR_URL
}
--silent
--show-error
|
sha1sum
|
awk
'{print $1}'
)
else
else
echo
"Version doesn't match regexp"
>
&2
echo
"Version doesn't match regexp"
>
&2
exit
1
exit
1
...
...
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