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
8f5d8da7
Commit
8f5d8da7
authored
Jun 19, 2015
by
Jeff Lowdermilk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yet another special case for e2e script
parent
abac8c86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
e2e.sh
hack/jenkins/e2e.sh
+10
-2
No files found.
hack/jenkins/e2e.sh
View file @
8f5d8da7
...
...
@@ -127,8 +127,16 @@ if [[ "${E2E_UP,,}" == "true" ]]; then
# code=400,message=cluster.cluster_api_versionmustbeoneof:
# 0.15.0,0.16.0.
# The command should error, so we throw an || true on there.
msg
=
$(
gcloud
${
CMD_GROUP
:-
alpha
}
container clusters create this-wont-work
\
--zone
=
us-central1-f
--cluster-api-version
=
0.0.0 2>&1
\
create_args
=(
"this-wont-work"
"--zone=us-central1-f"
)
if
[[
!
-z
"
${
DOGFOOD_GCLOUD
:-}
"
]]
;
then
create_args+
=(
"--cluster-version=0.0.0"
)
else
create_args+
=(
"--cluster-api-version=0.0.0"
)
fi
msg
=
$(
gcloud
${
CMD_GROUP
:-
alpha
}
container clusters create
"
$(
create_args[@]
)
"
2>&1
\
|
tr
-d
'[[:space:]]'
)
||
true
# Strip out everything before the final colon, which gives us just
# the allowed versions; something like "0.15.0,0.16.0." or "0.16.0."
...
...
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