Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
0c301ce4
Commit
0c301ce4
authored
Jun 25, 2021
by
Raphael Defosseux
Browse files
CI: missing nghttp2 in report
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@openairinterface.org
>
parent
e785113e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci-scripts/generateHtmlReport.py
View file @
0c301ce4
...
...
@@ -487,6 +487,8 @@ class HtmlReport():
pistache_build_status
=
False
json_build_start
=
False
json_build_status
=
False
nghttp2_build_start
=
False
nghttp2_build_status
=
False
base_image
=
False
with
open
(
cwd
+
'/archives/'
+
logFileName
,
'r'
)
as
logfile
:
for
line
in
logfile
:
...
...
@@ -530,6 +532,12 @@ class HtmlReport():
result
=
re
.
search
(
'Nlohmann Json installation complete'
,
line
)
if
result
is
not
None
and
json_build_start
:
json_build_status
=
True
result
=
re
.
search
(
'Starting to install nghttp2'
,
line
)
if
result
is
not
None
:
nghttp2_build_start
=
True
result
=
re
.
search
(
'nghttp2 installation complete'
,
line
)
if
result
is
not
None
and
nghttp2_build_start
:
nghttp2_build_status
=
True
logfile
.
close
()
if
base_image
:
cell_msg
=
' <td bgcolor="LimeGreen"><pre style="border:none; background-color:LimeGreen"><b>'
...
...
@@ -571,6 +579,12 @@ class HtmlReport():
cell_msg
+=
' ** Nlohmann Json Installation: OK
\n
'
else
:
cell_msg
+=
' ** Nlohmann Json Installation: KO
\n
'
if
base_image
:
cell_msg
+=
' ** nghttp2 Installation: N/A
\n
'
elif
nghttp2_build_status
:
cell_msg
+=
' ** nghttp2 Installation: OK
\n
'
else
:
cell_msg
+=
' ** nghttp2 Installation: KO
\n
'
cell_msg
+=
'</b></pre></td>
\n
'
else
:
cell_msg
=
' <td bgcolor="Tomato"><pre style="border:none; background-color:Tomato"><b>'
...
...
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