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
b6a7be6f
Commit
b6a7be6f
authored
Jun 02, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #26533 from gmarek/retries
Automatic merge from submit-queue Add retries for make in start-kubemark Fix. #25872
parents
91416324
51097764
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
start-kubemark.sh
test/kubemark/start-kubemark.sh
+13
-1
No files found.
test/kubemark/start-kubemark.sh
View file @
b6a7be6f
...
...
@@ -57,7 +57,19 @@ fi
CURR_DIR
=
`
pwd
`
cd
"
${
MAKE_DIR
}
"
make
RETRIES
=
3
for
attempt
in
$(
seq
1
${
RETRIES
})
;
do
if
!
make
;
then
if
[[
$((
attempt
))
-eq
"
${
RETRIES
}
"
]]
;
then
echo
"
${
color_red
}
Make failed. Exiting.
${
color_norm
}
"
exit
1
fi
echo
-e
"
${
color_yellow
}
Make attempt
$((
$attempt
))
failed. Retrying.
${
color_norm
}
"
>
& 2
sleep
$((
$attempt
*
5
))
else
break
fi
done
rm
kubemark
cd
$CURR_DIR
...
...
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