Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
834382d5
Commit
834382d5
authored
Sep 16, 2013
by
Ilias Tsitsimpis
Committed by
Christos Stavrakakis
Sep 24, 2013
Browse files
ci: Change run_burnin exit status
Make run_burnin snf-ci function to exit with the same exit code as snf-burnin did.
parent
b8e25577
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci/utils.py
View file @
834382d5
...
...
@@ -738,12 +738,14 @@ class SynnefoCI(object):
--force-flavor=2 --image-id=all
\
--system-images-user=$images_user
\
{0}
BurninExitStatus=$?
log_folder=$(ls -1d /var/log/burnin/* | tail -n1)
for i in $(ls $log_folder/*/details*); do
echo -e "
\\
n
\\
n"
echo -e "***** $i
\\
n"
cat $i
done
exit $BurninExitStatus
"""
.
format
(
self
.
config
.
get
(
'Burnin'
,
'cmd_options'
))
_run
(
cmd
,
True
)
...
...
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