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
e9f8adfe
Commit
e9f8adfe
authored
Dec 22, 2014
by
Brendan Burns
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3082 from zmerlynn/gkecmd
Fix binary detection on GKE
parents
36cfc02c
b3ce311f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
util.sh
cluster/gke/util.sh
+5
-10
No files found.
cluster/gke/util.sh
View file @
e9f8adfe
...
@@ -69,16 +69,11 @@ function test-build-release() {
...
@@ -69,16 +69,11 @@ function test-build-release() {
# Verify needed binaries exist.
# Verify needed binaries exist.
function
verify-prereqs
()
{
function
verify-prereqs
()
{
echo
"... in verify-prereqs()"
>
&2
echo
"... in verify-prereqs()"
>
&2
local
cmd
# TODO(mbforbes): This assumes you have a "normal" gcloud installed even if
${
GCLOUD
}
preview
--help
>
/dev/null 2>&1
||
{
# you are setting one differently using ${GCLOUD}.
echo
"Either the GCLOUD environment variable is wrong, or the 'preview' component"
for
cmd
in
gcloud kubectl
;
do
echo
"is not installed. (Fix with 'gcloud components update preview')"
which
"
${
cmd
}
"
>
/dev/null
||
{
}
echo
"Can't find
${
cmd
}
in PATH, please fix and retry. The Google Cloud "
echo
"SDK can be downloaded from https://cloud.google.com/sdk/."
exit
1
}
done
}
}
# Instantiate a kubernetes cluster
# Instantiate a kubernetes cluster
...
...
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