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
88acffcd
Commit
88acffcd
authored
Sep 17, 2016
by
Paul Morie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error message around gcloud calls in node e2e and gubernator
parent
e5a84398
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
test-e2e-node.sh
hack/make-rules/test-e2e-node.sh
+2
-2
gubernator.sh
test/e2e_node/gubernator.sh
+3
-3
No files found.
hack/make-rules/test-e2e-node.sh
View file @
88acffcd
...
...
@@ -89,14 +89,14 @@ if [ $remote = true ] ; then
# Get the compute zone
zone
=
$(
gcloud info
--format
=
'value(config.properties.compute.zone)'
)
if
[[
$zone
==
""
]]
;
then
echo
"Could not find gcloud compute/zone when running:
\n
gcloud info --format='value(config.properties.compute.zone)'
"
echo
"Could not find gcloud compute/zone when running:
\`
gcloud info --format='value(config.properties.compute.zone)'
\`
"
exit
1
fi
# Get the compute project
project
=
$(
gcloud info
--format
=
'value(config.project)'
)
if
[[
$project
==
""
]]
;
then
echo
"Could not find gcloud project when running:
\n
gcloud info --format='value(config.project)'
"
echo
"Could not find gcloud project when running:
\`
gcloud info --format='value(config.project)'
\`
"
exit
1
fi
...
...
test/e2e_node/gubernator.sh
View file @
88acffcd
...
...
@@ -35,19 +35,19 @@ fi
# Check that user has gsutil
if
[[
$(
which gsutil
)
==
""
]]
;
then
echo
"Could not find gsutil when running
:
\w
hich gsutil
"
echo
"Could not find gsutil when running
\`
which gsutil
\`
"
exit
1
fi
# Check that user has gcloud
if
[[
$(
which gcloud
)
==
""
]]
;
then
echo
"Could not find gcloud when running:
\w
hich gcloud
"
echo
"Could not find gcloud when running:
\`
which gcloud
\`
"
exit
1
fi
# Check that user has Credentialed Active account
if
!
gcloud auth list |
grep
-q
"ACTIVE"
;
then
echo
"Could not find active account when running:
\g
cloud auth list
"
echo
"Could not find active account when running:
\`
gcloud auth list
\`
"
exit
1
fi
...
...
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