Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csp-lmc-subelement-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Gianluca Marotta
csp-lmc-subelement-old
Commits
7a3b70bb
Commit
7a3b70bb
authored
5 years ago
by
Carlo Baffa
Browse files
Options
Downloads
Patches
Plain Diff
Deleted the inherited and unnecessary Makefile. Some comments.
parent
00bf1222
No related branches found
No related tags found
1 merge request
!5
Request to merge AT5-370 branch with master
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+0
-27
0 additions, 27 deletions
Makefile
cspse/lmc/release.py
+1
-1
1 addition, 1 deletion
cspse/lmc/release.py
cspse/lmc/subelement_master.py
+7
-1
7 additions, 1 deletion
cspse/lmc/subelement_master.py
with
8 additions
and
29 deletions
Makefile
deleted
100644 → 0
+
0
−
27
View file @
00bf1222
# Use bash shell with pipefail option enabled so that the return status of a
# piped command is the value of the last (rightmost) commnand to exit with a
# non-zero status. This lets us pipe output into tee but still exit on test
# failures.
SHELL
=
/bin/bash
.SHELLFLAGS
=
-o
pipefail
-c
all
:
test lint
# The following steps copy across useful output to this volume which can
# then be extracted to form the CI summary for the test procedure.
test
:
python
setup.py
test
|
tee
./build/setup_py_test.stdout;
\
mv
coverage.xml
./build/reports/code-coverage.xml;
# The following steps copy across useful output to this volume which can
# then be extracted to form the CI summary for the test procedure.
lint
:
# FIXME pylint needs to run twice since there is no way go gather the text and junit xml output at the same time
pip3
install
pylint2junit;
\
pylint
--output-format
=
parseable ska_python_skeleton |
tee
./build/code_analysis.stdout
;
\
pylint
--output-format
=
pylint2junit.JunitReporter ska_python_skeleton
>
./build/reports/linting.xml
;
.PHONY
:
all test lint
This diff is collapsed.
Click to expand it.
cspse/lmc/release.py
+
1
−
1
View file @
7a3b70bb
# -*- coding: utf-8 -*-
#
# This file is part of the C
entralNode
project
# This file is part of the C
spSubElementMaster
project
#
#
#
...
...
This diff is collapsed.
Click to expand it.
cspse/lmc/subelement_master.py
+
7
−
1
View file @
7a3b70bb
...
...
@@ -241,7 +241,6 @@ class CspSubElementMaster(SKAMaster):
SKAMaster
.
init_device
(
self
)
self
.
set_state
(
tango
.
DevState
.
INIT
)
# PROTECTED REGION ID(CspSubElementMaster.init_device) ENABLED START #
# PROTECTED REGION ID(CspSubElementMaster.init_device) ENABLED START #
# _cmd_execution_state: implement the execution state of a long-running
# command for the whole CSP. Setting this attribute prevent the execution
# of the same command while it is already running.
...
...
@@ -512,6 +511,9 @@ class CspSubElementMaster(SKAMaster):
The command is executed if the *AdminMode* is ONLINE or *MAINTENANCE*.
If the AdminMode is *OFFLINE*, *NOT-FITTED* or *RESERVED*, the method throws an
exception.
The CSP sub-element components can be organized as tango-groups or controlled
by some tango device drivers which actas as
'
cache
'
. We call these devices
'
racks
'
, even if they can contro a different phisical arrangement.
:param argin:
'
DevVarStringArray
'
The list of sub-element components FQDNs to switch-on or an empty list to switch-on the whole
...
...
@@ -542,6 +544,10 @@ class CspSubElementMaster(SKAMaster):
Switch-off the CSP sub-element components specified by the input argument.
If no argument is specified, the command is issued to all the CSP
sub-element components.
The CSP sub-element components can be organized as tango-groups or controlled
by some tango device drivers which actas as
'
cache
'
. We call these devices
'
racks
'
, even if they can contro a different phisical arrangement.
:param argin:
'
DevVarStringArray
'
If the array length is 0, the command applies to the whole
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment