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
littleBu
OpenXG-RAN
Commits
707a8000
Commit
707a8000
authored
3 years ago
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
google sheet dashboard is deprecated, replaced by Html dashboard hosted on AWS S3
parent
d2dff05c
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
661 additions
and
8 deletions
+661
-8
ci-scripts/Jenkinsfile-git-dashboard
ci-scripts/Jenkinsfile-git-dashboard
+3
-2
ci-scripts/ran_dashboard/Hdashboard.py
ci-scripts/ran_dashboard/Hdashboard.py
+401
-0
ci-scripts/ran_dashboard/mr_styles.css
ci-scripts/ran_dashboard/mr_styles.css
+136
-0
ci-scripts/ran_dashboard/ran_dashboard.py
ci-scripts/ran_dashboard/ran_dashboard.py
+1
-1
ci-scripts/ran_dashboard/ran_dashboard_cfg.yaml
ci-scripts/ran_dashboard/ran_dashboard_cfg.yaml
+14
-5
ci-scripts/ran_dashboard/readme.txt
ci-scripts/ran_dashboard/readme.txt
+3
-0
ci-scripts/ran_dashboard/test_styles.css
ci-scripts/ran_dashboard/test_styles.css
+103
-0
No files found.
ci-scripts/Jenkinsfile-git-dashboard
View file @
707a8000
...
...
@@ -35,8 +35,9 @@ pipeline {
steps
{
script
{
dir
(
"ci-scripts/ran_dashboard"
)
{
//retrieve MR data from gitlab and export to gSheet
sh
returnStdout:
true
,
script:
'python3 ran_dashboard.py'
//retrieve MR data from gitlab / mySQL db, build HTML pages and load them to AWS S3 bucket (configured as static web page hosting)
//deprecated method : sh returnStdout: true, script: 'python3 ran_dashboard.py'
sh
returnStdout:
true
,
script:
'python3 Hdashboard.py'
}
}
}
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/ran_dashboard/Hdashboard.py
0 → 100644
View file @
707a8000
This diff is collapsed.
Click to expand it.
ci-scripts/ran_dashboard/mr_styles.css
0 → 100755
View file @
707a8000
body
{
font-family
:
'lato'
,
sans-serif
;
}
.Main
{
text-align
:
left
;
font-size
:
30px
;
font-weight
:
bold
;
}
.DashLink
{
text-align
:
left
;
font-size
:
16px
;
}
.DashLink
:hover
{
font-weight
:
bold
;
}
.Date
{
text-align
:
left
;
font-size
:
16px
;
font-weight
:
bold
;
}
a
{
text-decoration
:
none
;
}
a
:visited
{
text-decoration
:
none
;
color
:
blue
}
a
:hover
{
text-decoration
:
none
;
font-weight
:
bold
;
color
:
blue
}
.MR_Table
{
border-collapse
:
collapse
;
}
.MR_Table
tr
{
font-size
:
12px
;
text-align
:
center
;
}
.MR_Table
tr
:hover
{
background-color
:
lightgray
;
}
.MR_Table
td
{
border
:
1px
solid
black
;
padding
:
5px
;
}
.MR_Table
td
:hover
{
font-weight
:
bold
;
}
.MR_Table
th
{
font-size
:
14px
;
text-align
:
center
;
padding
:
5px
;
}
.title_cell
{
text-align
:
left
;
}
.MR
{
table-layout
:
fixed
;
width
:
50px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.CREATED_AT
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.AUTHOR
{
table-layout
:
fixed
;
width
:
150px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.TITLE
{
table-layout
:
fixed
;
width
:
500px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.ASSIGNEE
{
table-layout
:
fixed
;
width
:
150px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.REVIEWER
{
table-layout
:
fixed
;
width
:
150px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.CAN_START
{
background-color
:
orange
;
table-layout
:
fixed
;
width
:
150px
;
}
.IN_PROGRESS
{
background-color
:
yellow
;
table-layout
:
fixed
;
width
:
150px
;
}
.COMPLETED
{
background-color
:
rgb
(
144
,
221
,
231
);
table-layout
:
fixed
;
width
:
150px
;
}
.REVIEW_FORM
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.OK_MERGE
{
background-color
:
rgb
(
58
,
236
,
58
);
table-layout
:
fixed
;
width
:
150px
;
}
.MERGE_CONFLICTS
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
This diff is collapsed.
Click to expand it.
ci-scripts/ran_dashboard/ran_dashboard.py
View file @
707a8000
...
...
@@ -168,7 +168,7 @@ class gDashboard:
project_id
=
223
project
=
gl
.
projects
.
get
(
project_id
)
#get the opened MR in the project
mrs
=
project
.
mergerequests
.
list
(
state
=
'opened'
)
mrs
=
project
.
mergerequests
.
list
(
state
=
'opened'
,
per_page
=
100
)
review_form
=
''
for
m
in
range
(
0
,
len
(
mrs
)):
if
mrs
[
m
].
iid
==
self
.
git
[
x
][
'iid'
]:
#check the iid is the one we are on
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/ran_dashboard/ran_dashboard_cfg.yaml
View file @
707a8000
LTE-2x2
:
#short name used in the dashboard
job
:
'
RAN-LTE-2x2-Module-OAIEPC'
#job name from Jenkins, used in the database
link
:
'
https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-LTE-2x2-Module-OAIEPC'
NSA-B200
:
link
:
'
https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-LTE-2x2-Module-OAIEPC'
bench
:
'
Obelix-N310-OAIEPC-Quectel(nrmodule2)'
test
:
'
TM2,
TDD,
20MHz,
MCS9,
26Mb
DL,
7Mb
UL'
NSA-B200
:
job
:
'
RAN-NSA-B200-Module-LTEBOX'
link
:
'
https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-NSA-B200-Module-LTEBOX'
NSA-2x2
:
bench
:
'
Nepes-B200-Obelix-B200-LTEBOX-Quectel(idefix)'
test
:
'
TM1,
20MHz,
20Mb
DL,
3Mb
UL'
NSA-2x2
:
job
:
'
RAN-NSA-2x2-Module-OAIEPC'
link
:
'
https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-NSA-2x2-Module-OAIEPC'
SA-N310
:
bench
:
'
Asterix-N310-Obelix-N310-OAIEPC-Quectel(nrmodule2)'
test
:
'
TM2,
TDD,
20MHz,
MCS9,
20Mb
DL,
3Mb
UL'
SA-N310
:
job
:
'
RAN-SA-Module-CN5G'
link
:
'
https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-SA-Module-CN5G'
\ No newline at end of file
link
:
'
https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-SA-Module-CN5G'
bench
:
'
Asterix-N310-OAICN5G-Quectel(nrmodule2)'
test
:
'
TM2,
TDD,
20MHz,
20Mb
DL,
3Mb
UL'
This diff is collapsed.
Click to expand it.
ci-scripts/ran_dashboard/readme.txt
0 → 100644
View file @
707a8000
The code ran_dashboard.py was initially developped to bring MR status and test resuts to a google sheet, using google sheets API.
This method is now deprecated, and replaced by Hdashboard.py that builds the results as HTML page and loads it to AWS S3.
ran_dashboard_cfg.yaml is still used by Hdashboard.py as tests config file.
This diff is collapsed.
Click to expand it.
ci-scripts/ran_dashboard/test_styles.css
0 → 100755
View file @
707a8000
body
{
font-family
:
'lato'
,
sans-serif
;
}
.Main
{
text-align
:
left
;
font-size
:
30px
;
font-weight
:
bold
;
}
.DashLink
{
text-align
:
left
;
font-size
:
16px
;
}
.DashLink
:hover
{
font-weight
:
bold
;
}
.Date
{
text-align
:
left
;
font-size
:
16px
;
font-weight
:
bold
;
}
h3
{
font-size
:
16px
;
}
a
{
text-decoration
:
none
;
}
a
:visited
{
text-decoration
:
none
;
color
:
blue
}
a
:hover
{
text-decoration
:
none
;
font-weight
:
bold
;
color
:
blue
}
.Test_Table
{
border-collapse
:
collapse
;
}
.Test_Table
tr
{
font-size
:
12px
;
text-align
:
center
;
}
.Test_Table
tr
:hover
{
background-color
:
lightgray
;
}
.Test_Table
td
{
border
:
1px
solid
black
;
padding
:
5px
;
}
.Test_Table
td
:hover
{
font-weight
:
bold
;
}
.Test_Table
th
{
font-size
:
14px
;
text-align
:
center
;
padding
:
5px
;
}
.Test_Name
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.Test_Descr
{
table-layout
:
fixed
;
width
:
400px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.Pass
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.Fail
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.Last_Pass
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
.Last_Fail
{
table-layout
:
fixed
;
width
:
100px
;
background-color
:
rgb
(
143
,
154
,
216
);
}
This diff is collapsed.
Click to expand it.
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