Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
67638ffb
Commit
67638ffb
authored
1 month ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
generate cdb
parent
bd66b24b
No related branches found
No related tags found
1 merge request
!1081
L2SS-2212 L2SS-2296: Fix FPGA addresses in CDB files, add deployment mechanism
Pipeline
#114762
failed
1 month ago
Stage: prepare
Stage: lint
Stage: render
Stage: test
Stage: package
Stage: images
Stage: integration
Pipeline: tango
#114763
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-2
26 additions, 2 deletions
.gitlab-ci.yml
with
26 additions
and
2 deletions
.gitlab-ci.yml
+
26
−
2
View file @
67638ffb
...
@@ -61,9 +61,33 @@ run_shellcheck:
...
@@ -61,9 +61,33 @@ run_shellcheck:
STATIONS
:
cs001 cs032 rs307
STATIONS
:
cs001 cs032 rs307
COMPONENTS
:
mesh-gateway monitoring logging tango object-storage object-replication sdptr device-server dsconfig ec-sim jupyter snmp-exporter landing-page rpc-server
COMPONENTS
:
mesh-gateway monitoring logging tango object-storage object-replication sdptr device-server dsconfig ec-sim jupyter snmp-exporter landing-page rpc-server
# Generate TangoDB configuration files for each station, serving as a default configuration
# if none exists yet.
generate_CDB
:
extends
:
.components
stage
:
render
needs
:
-
trigger_prepare
when
:
manual
script
:
-
|
mkdir generate-cdb
for STATION in ${STATIONS}; do
echo "Generating CDB for station $STATION"
LCU_IP=1.2.3.4 # hack, get this from NetBox
python $CI_PROJECT_DIR/tangostationcontrol/toolkit/generate_cdb_from_lofar1.py -s ${STATION} -C -l ${LCU_IP} > generate-cdb/${STATION}.json
done
artifacts
:
expire_in
:
4 weeks
expose_as
:
'
generated
cdb
files'
name
:
generated-cdb-files
paths
:
-
generate-cdb/
# Collect TangoDB configuration files for each station, to be fed to dsconfig to populate
# Collect TangoDB configuration files for each station, to be fed to dsconfig to populate
# the Tango devices and their station-specific properties.
# the Tango devices and their station-specific properties.
render
_CDB
:
collect
_CDB
:
extends
:
.components
extends
:
.components
stage
:
render
stage
:
render
needs
:
[]
needs
:
[]
...
@@ -163,7 +187,7 @@ render_levant:
...
@@ -163,7 +187,7 @@ render_levant:
test_CDB_correctness
:
test_CDB_correctness
:
needs
:
needs
:
-
render
_CDB
-
collect
_CDB
stage
:
test
stage
:
test
script
:
script
:
-
|
-
|
...
...
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