Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
879d37b2
Commit
879d37b2
authored
Sep 06, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable testing for all files to force ran-base rebuild
parent
c1fb4b6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
ci-scripts/cls_cluster.py
ci-scripts/cls_cluster.py
+1
-3
ci-scripts/cls_oai_html.py
ci-scripts/cls_oai_html.py
+2
-4
No files found.
ci-scripts/cls_cluster.py
View file @
879d37b2
...
@@ -259,9 +259,7 @@ class Cluster:
...
@@ -259,9 +259,7 @@ class Cluster:
if
self
.
ranAllowMerge
:
# merging MR branch into develop -> temporary image
if
self
.
ranAllowMerge
:
# merging MR branch into develop -> temporary image
imageTag
=
'ci-temp'
imageTag
=
'ci-temp'
if
self
.
ranTargetBranch
==
'develop'
:
if
self
.
ranTargetBranch
==
'develop'
:
# TODO IMPORTANT: delete next line, uncomment following
mySSH
.
command
(
f'git diff HEAD..origin/develop -- cmake_targets/build_oai cmake_targets/tools/build_helper docker/Dockerfile.base.rhel8.2 | grep --colour=never -i INDEX'
,
'\$'
,
5
)
mySSH
.
command
(
f'git diff HEAD..origin/develop -- cmake_targets/build_oai cmake_targets/tools/build_helper | grep --colour=never -i INDEX'
,
'\$'
,
5
)
#mySSH.command(f'git diff HEAD..origin/develop -- cmake_targets/build_oai cmake_targets/tools/build_helper docker/Dockerfile.base.rhel8.2 | grep --colour=never -i INDEX', '\$', 5)
result
=
re
.
search
(
'index'
,
mySSH
.
getBefore
())
result
=
re
.
search
(
'index'
,
mySSH
.
getBefore
())
if
result
is
not
None
:
if
result
is
not
None
:
forceBaseImageBuild
=
True
forceBaseImageBuild
=
True
...
...
ci-scripts/cls_oai_html.py
View file @
879d37b2
...
@@ -453,13 +453,11 @@ class HTMLManagement():
...
@@ -453,13 +453,11 @@ class HTMLManagement():
self
.
htmlFile
.
write
(
' <td bgcolor = "red" >'
+
str
(
parameters
[
'warnings'
])
+
'</td>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "red" >'
+
str
(
parameters
[
'warnings'
])
+
'</td>
\n
'
)
elif
(
parameters
[
'warnings'
]
==
0
):
elif
(
parameters
[
'warnings'
]
==
0
):
self
.
htmlFile
.
write
(
' <td bgcolor = "green" >'
+
str
(
parameters
[
'warnings'
])
+
'</td>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "green" >'
+
str
(
parameters
[
'warnings'
])
+
'</td>
\n
'
)
elif
((
parameters
[
'warnings'
]
>
0
)
and
(
parameters
[
'warnings'
]
<=
20
)):
self
.
htmlFile
.
write
(
' <td bgcolor = "orange" >'
+
str
(
parameters
[
'warnings'
])
+
'</td>
\n
'
)
else
:
else
:
self
.
htmlFile
.
write
(
' <td bgcolor = "
red
" >'
+
str
(
parameters
[
'warnings'
])
+
'</td>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "
orange
" >'
+
str
(
parameters
[
'warnings'
])
+
'</td>
\n
'
)
if
(
parameters
[
'errors'
]
==
0
)
and
(
parameters
[
'warnings'
]
==
0
):
if
(
parameters
[
'errors'
]
==
0
)
and
(
parameters
[
'warnings'
]
==
0
):
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
' bgcolor = "green" ><font color="white">OK </font></th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
' bgcolor = "green" ><font color="white">OK </font></th>
\n
'
)
elif
(
parameters
[
'errors'
]
==
0
)
and
((
parameters
[
'warnings'
]
>
0
)
and
(
parameters
[
'warnings'
]
<=
20
))
:
elif
(
parameters
[
'errors'
]
==
0
):
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
' bgcolor = "orange" ><font color="white">OK </font></th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
' bgcolor = "orange" ><font color="white">OK </font></th>
\n
'
)
else
:
else
:
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
' bgcolor = "red" > NOT OK </th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
' bgcolor = "red" > NOT OK </th>
\n
'
)
...
...
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