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
ff42ecfd
Commit
ff42ecfd
authored
Mar 04, 2019
by
Valentin Reis
Committed by
Valentin Reis
Mar 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[style] adds flake8 tests to /bin.
parent
efb632bd
Pipeline
#5889
passed with stages
in 4 minutes and 10 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
5 deletions
+15
-5
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
bin/argo-perf-wrapper
bin/argo-perf-wrapper
+2
-2
bin/cmd
bin/cmd
+2
-2
default.nix
default.nix
+9
-0
shell.nix
shell.nix
+1
-0
No files found.
.gitlab-ci.yml
View file @
ff42ecfd
...
...
@@ -28,6 +28,6 @@ py.test:
flake8
:
stage
:
style
script
:
-
nix run -f "$ARGOPKGS" pythonPackages.flake8 --command flake8
-
nix run -f "$ARGOPKGS" pythonPackages.flake8 --command flake8
nrm/* bin/*
tags
:
-
integration
bin/argo-perf-wrapper
View file @
ff42ecfd
...
...
@@ -44,8 +44,8 @@ class PerfWrapper(object):
update
=
{
'api'
:
'down_event'
,
'type'
:
'performance'
,
'payload'
:
performance
,
'container_uuid'
:
self
.
container_uuid
,
'application_uuid'
:
self
.
app_uuid
,
'container_uuid'
:
self
.
container_uuid
,
'application_uuid'
:
self
.
app_uuid
,
}
msg
=
PUB_MSG
[
'performance'
](
**
update
)
self
.
downstream_event
.
sendmsg
(
msg
)
...
...
bin/cmd
View file @
ff42ecfd
...
...
@@ -261,8 +261,8 @@ class CommandLineInterface(object):
help
=
"container uuid to listen for"
,
default
=
None
)
parser_listen
.
add_argument
(
"-f"
,
"--filter"
,
help
=
"type of message to filter and
\
\
p
r
ettyprint, in {power,performance}"
,
help
=
"type of message to filter and
"
"
prettyprint, in {power,performance}"
,
default
=
None
)
parser_listen
.
set_defaults
(
func
=
self
.
do_listen
)
...
...
default.nix
0 → 100644
View file @
ff42ecfd
{
pkgs
?
import
<
argopkgs
>
{
nrm-src
=
./.
;},
}:
rec
{
nrm
=
pkgs
.
nrm
;
hack
=
nrm
.
overrideAttrs
(
old
:{
buildInputs
=
old
.
buildInputs
++
[
pkgs
.
pythonPackages
.
flake8
];
});
}
shell.nix
0 → 100644
View file @
ff42ecfd
(
import
./default.nix
{})
.
hack
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