Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nrm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
nrm
Commits
c61e07ff
Commit
c61e07ff
authored
Jul 03, 2018
by
Swann Perarnau
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'style-ci' into 'master'
Add style checks to CI See merge request
!16
parents
b0594527
de108bd0
Pipeline
#3626
canceled with stages
Changes
5
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
1 deletion
+14
-1
.gitlab-ci.yml
.gitlab-ci.yml
+7
-0
Pipfile
Pipfile
+1
-0
nrm/aci.py
nrm/aci.py
+2
-0
nrm/controller.py
nrm/controller.py
+2
-1
setup.cfg
setup.cfg
+2
-0
No files found.
.gitlab-ci.yml
View file @
c61e07ff
stages
:
-
test
-
style
py.test
:
stage
:
test
script
:
-
pipenv install --dev
-
pipenv run py.test
flake8
:
stage
:
style
script
:
-
pipenv install --dev
-
pipenv run flake8
Pipfile
View file @
c61e07ff
...
...
@@ -8,6 +8,7 @@ name = "pypi"
[dev-packages]
pytest
=
"*"
"flake8"
=
"*"
[requires]
python_version
=
"2.7"
nrm/aci.py
View file @
c61e07ff
...
...
@@ -125,6 +125,7 @@ class Container(SpecField):
"""Load container information."""
return
super
(
Container
,
self
).
load
(
data
)
class
PerfWrapper
(
SpecField
):
"""Information on whether to use perf for a container."""
...
...
@@ -147,6 +148,7 @@ class PerfWrapper(SpecField):
return
False
return
True
class
IsolatorList
(
SpecField
):
"""Represent the list of isolator in a Manifest."""
...
...
nrm/controller.py
View file @
c61e07ff
...
...
@@ -74,7 +74,8 @@ class PowerActuator(object):
return
actions
def
execute
(
self
,
action
):
logger
.
info
(
"changing power limit: %r, %r"
,
action
.
command
,
action
.
delta
)
logger
.
info
(
"changing power limit: %r, %r"
,
action
.
command
,
action
.
delta
)
self
.
sensor_manager
.
set_powerlimit
(
action
.
target
,
action
.
command
)
def
update
(
self
,
action
):
...
...
setup.cfg
View file @
c61e07ff
[flake8]
exclude = .git, doc, nrm/coolr
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